Docker compose down

In this article let’s discuss about Docker compose down. Let’s go through the following methods without any delay.

Method 1:

# Stop services only
docker-compose stop

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

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

# Down and remove images
docker-compose down --rmi  

Hope the above solution works.

Realted Posts : How to create a guid in powershell