Skip to main content

Stop a container

POST 

/api/node/:hostname/docker/:name/stop

Runs docker stop, which waits timeout seconds before docker kills the container, or docker's default of 10 when it is 0. A container that does not run reports changed: false.

Request​

Responses​

Each target host's result, with whether it changed.