docker-compose down

Stop and remove containers, networks

Options

NameDescription
--remove-orphansRemove 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, -vRemove named volumes declared in the `volumes` section of the Compose file and anonymous volumes attached to containers