Suggest an editImprove this articleRefine the answer for “How to stop a Docker container?”. Your changes go to moderation before they’re published.Approval requiredContentWhat you’re changing🇺🇸EN🇺🇦UAPreviewTitle (EN)Short answer (EN)A **container** is stopped with the `docker stop` command. **Key point:** `stop` sends a `SIGTERM` signal (graceful stop), while `kill` sends `SIGKILL` (instantly terminates the process).Shown above the full answer for quick recall.Answer (EN)ImageA container is stopped with the `docker stop` command. --- ### **1. View running containers** ```bash docker ps ``` --- ### **2. Stop the container** By name: ```bash docker stop CONTAINER_NAME ``` or by ID: ```bash docker stop CONTAINER_ID ``` --- ### **3. Force stop (if the container is not responding)** ```bash docker kill CONTAINER_NAME ``` `stop` sends a `SIGTERM` signal (graceful stop), while `kill` sends `SIGKILL` (instantly terminates the process). --- ### **Important point** After stopping, the container remains in the `docker ps -a` list, and it can be started again with: ```bash docker start CONTAINER_NAME ``` ---For the reviewerNote to the moderator (optional)Visible only to the moderator. Helps review go faster.