docker-container-stop - Man Page
Stop one or more running containers
Examples (TL;DR)
- Stop a Docker container:
docker [stop|container stop] container - Stop a container, sending a specific signal to it:
docker [stop|container stop] [-s|--signal] signal container - Stop a container, waiting a specific number of seconds before forcibly killing it:
docker [stop|container stop] [-t|--timeout] seconds container - Stop one or more containers:
docker [stop|container stop] container1 container2 ... - Display help:
docker [stop|container stop] --help
Synopsis
docker container stop [Options] CONTAINER [CONTAINER...]
Description
Stop a container (Send SIGTERM, and then SIGKILL after grace period)
Options
-s, --signal="" Signal to send to the container
-t, --timeout=0 Seconds to wait before killing the container
See Also
Info
Oct 2026 Docker Community Docker User Manuals