DOCKER-COMPOSE-DOWN(1)
π docker-compose-down π
okay bestie, so this is the docker-compose-down manual page β it's the docker compose down girlie, and she is here to clean up your mess after you've been out there living your best container life. β¨
πΈ NAME πΈ
docker-compose-down β stop and remove containers, networks. that's it, that's the whole vibe. she ends the party and takes out the trash. ποΈβ¨
π¦ SYNOPSIS π¦
docker compose down [OPTIONS] [SERVICES]
π DESCRIPTION π
So basically β she stops containers and removes containers, networks, volumes, and images that were created by up. like, she's the cleanup crew for everything your up made. no cap.
By default, the only things removed are:
- Containers for services defined in the Compose file. π«
- Networks defined in the
networkssection of the Compose file. π - The default network, if one is used. π£οΈ
Networks and volumes defined as external are never removed. like, never ever. she will not touch them. they're not hers. π ββοΈ
Anonymous volumes are not removed by default. But here's the tea β because they don't have a stable name, they are not automatically mounted by a subsequent up. so like, they're just kinda floating out there in the void. π For data that needs to persist between updates, use explicit paths as bind mounts or named volumes. that's the move, fr fr. π
β¨ OPTIONS β¨
-h,--help[=false]β help fordown. she'll explain herself. πββοΈ--remove-orphans[=false]β Remove containers for services not defined in the Compose file. yes, the orphans. the ones nobody claimed. she's taking them too. π₯Ί--rmi=""β Remove images used by services."local"remove only images that don't have a custom tag ("local"|"all"). choose your fighter. π₯-t,--timeout=0β Specify a shutdown timeout in seconds. give her a lil grace period before she pulls the plug. β³-v,--volumes[=false]β Remove named volumes declared in the"volumes"section of the Compose file and anonymous volumes attached to containers. careful, this one is spicy β it deletes the volume data. πΆοΈπ
π OPTIONS INHERITED FROM PARENT COMMANDS π
--dry-run[=false]β Execute command in dry run mode. she'll pretend. she'll rehearse. but she won't actually do it. main character rehearsal energy. π
π SEE ALSO π
docker-compose(1)β the mothership. go read her too. πΈ
and that's the whole page, bestie!! this one came from Mar 2025 and the source is the docker-compose-down(1) manual, section 1. go forth and down responsibly. πβ¨π
π¦ where this page comes from
- debian trixie: docker-compose 2.26.1-4 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms