Stopping the Docker Compose Containers
For Linux
Stop the Docker Compose containers by running the following command:
docker compose down
NOTE:
After running the command docker compose up, you may find that the command line window stays in docker compose, without returning to an operating system prompt. You can either:
- Press Ctrl+C to stop the containers, or
- Pause the docker process by pressing Ctrl+Z, then executing bg to move it to the background, and then executing sudo docker compose down.
For MacOS
To stop the Docker Compose contains, you can either:
- Stop the Docker Compose container in Docker Desktop
- Run the following command:
docker compose down
For Windows
To stop the Docker Compose contains, you can either:
- In the command line window where you previously entered the command docker compose up, press Ctrl+C and wait for the four containers to be stopped, or
- Press the stop button of the Panopticon container in Docker Desktop
(c) 2013-2024 Altair Engineering Inc. All Rights Reserved.