docker-compose down
Stop and remove containers, networks
Options
Name | Description |
---|---|
--remove-orphans | Remove containers for services not defined in the Compose file |
--rmi <rmi> | Remove images used by services. "local" remove only images that don't have a custom tag ("local"|"all") |
--timeout, -t <timeout> | Specify a shutdown timeout in seconds |
--volumes, -v | Remove named volumes declared in the `volumes` section of the Compose file and anonymous volumes attached to containers |