Docker Compose

docker compose down

Stop and remove project containers and managed networks. Images and named volumes are retained by default; -v can remove volumes, and external resources are not removed. Use only the reviewed disposable project. Verify the project identity and absence of its containers after scoped teardown.

Formal Syntax & Structure

docker syntaxdocker
docker compose down [OPTIONS]

Working Example

Example Snippetdocker
docker compose -f compose.yaml -p bm-v12-project down
Docker Reference