Docker

Clean Exited Containers

Changed on

Remove all exited Docker containers to free up space.

Args: docker_service: Docker service dependency

Returns: {"success": true, "message": ...} once the exited containers are pruned

Raises: HTTPException: 502 if the Docker daemon refused or could not be reached

post/docker/clean-exited-containers

Request

  • Base URL
    http://localhost:8000
  • URL
    http://localhost:8000/docker/clean-exited-containers
  • Auth
    HTTP basic

Response

Successful Response

unknown required

Changes