Gracefully stop a running container.
Section: Containers
Stop a running container
bash
bash
docker stop webExplanation
Sends SIGTERM then SIGKILL after the timeout.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Containers