Docker
Start Container
Changed onStart a stopped Docker container.
Args: container_name: Name of the container to start docker_service: Docker service dependency
Returns: {"success": true, "message": ...} once the container is started
Raises: HTTPException: 404 if no container by that name exists HTTPException: 502 if the Docker daemon refused or could not be reached
post/docker/start-container/{container_name}
Request
- Base URLhttp://localhost:8000
- URLhttp://localhost:8000/docker/start-container/{container_name}
- AuthHTTP basic
Path parameters
container_namestring required
Response
Successful Response
unknown required
Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- breaking
the response's body type changed from
objectto no type for status
- breaking