Command

Docker Stop a Compose Project Command

The Docker command to stop a compose project is docker compose down.

Quick Answer

Command
docker compose down
DockerCommand

Stop a Compose Project

Type this command
docker compose down

Stops and removes the containers, network and other resources a compose run created.

Learn More

How to stop a compose project in Docker

  1. Open the terminal or command interface for Docker.
  2. Type docker compose down, replace any placeholders, and run it.

Docker Stop a Compose Project Command

Run docker compose down.

Related Commands

Frequently asked questions

What is the Docker command to stop a compose project?

Run docker compose down.

Where do I type this Docker command?

Type it in the terminal or command-line interface used by Docker.

Does this Docker command work on Mac and Windows?

Yes. The command text is the same on both platforms when the tool is installed.

Official source · How we verify