Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

docker compose stop and start only specific

# Stop services only
docker-compose stop

# Stop and remove containers, networks..
docker-compose down 

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

# Down and remove images
docker-compose down --rmi <all|local>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #docker #compose #stop #start #specific
ADD COMMENT
Topic
Name
3+7 =