A container's life: create, start, pause, stop, remove
Select an icon to see what it is.
Step 4 of 6
stop: a signal, then a deadline
POST /containers/{id}/stop makes dockerd send the container's stop signal to PID 1. The default is SIGTERM, and the nginx image sets SIGQUIT. If the process is still alive after 10 seconds, dockerd sends SIGKILL.
$ docker stop webPOST /v1.45/containers/d4e5f6a7b8c9d0e1d4e5f6a7b8c9d0e1d4e5f6a7b8c9d0e1d4e5f6a7b8c9d0e1/stop
t defaults to 10 seconds