LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

docker-compose-down

stop and remove compose resources

TLDR

Stop and remove containers
$ docker compose down
copy
Remove volumes too
$ docker compose down -v
copy
Remove images too
$ docker compose down --rmi all
copy
Remove orphan containers
$ docker compose down --remove-orphans
copy
Timeout for shutdown
$ docker compose down -t [30]
copy

SYNOPSIS

docker compose down [options]

DESCRIPTION

docker compose down stops and removes containers and networks created by docker compose up.By default, only containers and networks are removed. Volumes and images are preserved unless -v or --rmi is specified. Networks and volumes defined as external are never removed.

PARAMETERS

-v, --volumes

Remove named volumes and anonymous volumes.
--rmi type
Remove images: all or local.
--remove-orphans
Remove containers not defined in Compose file.
-t, --timeout seconds
Shutdown timeout (default 10).

INSTALL

sudo apt install docker-compose
copy
sudo dnf install docker-compose
copy
sudo pacman -S docker-compose
copy
sudo apk add docker-cli-compose
copy
sudo zypper install docker-compose
copy
brew install docker-compose
copy
nix profile install nixpkgs#docker-compose
copy

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid