Docker Compose Down (Stop & Remove)

Stops and removes containers, networks created by docker-compose up. Add -v to also remove named volumes. Does not remove images unless you add --rmi all.

When you need this: When stopping a development stack or removing a deployment during maintenance.

Variables

Command


        
2 views 0 copies
Log in to rate
Log in to save

Free account — save snippets into your own collections.