Answers for "docker compose down example"

1

docker compose down

# Stop services only
docker-compose stop

# Stop and remove containers, networks..
docker-compose down -f <file>

# Down and remove volumes
docker-compose down --volumes 

# Down and remove images
docker-compose down --rmi <all|local>
Posted by: Guest on December-10-2020
4

docker compose run

# One single docker-compose.yml file
docker-compose up --build -d --remove-orphans

# Specify docker-compose.yml file to run
docker-compose -f docker-compose.yml up --build -d --remove-orphans
Posted by: Guest on June-12-2020

Code answers related to "docker compose down example"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language