docker stop Explained
What docker stop does, with an example.
Published November 8, 2026
docker stop gracefully stops a running container by sending it a SIGTERM, then SIGKILL if it doesn't exit.
Key points
- Part of the standard Docker CLI used for building, running, and managing containers
Example
docker stop my-container