/
Pack Hosting Panel

Command - docker:compose:down

How to use the `docker:compose:down` command


We assume you are already familiar with the docker basics.

The docker:compose:down command stops containers and removes containers, networks, volumes, and images created by docker:compose:up. The command acts as a wrapper around the default command: https://docs.docker.com/compose/reference/down/.

Description:
  Stops containers and removes containersundefined networksundefined volumesundefined and images

Usage:
  docker:compose:down [options]
  docker:compose:down
This command is a wrapper around the default `docker-compose` command. For more information see https://docs.docker.com/compose/reference/down/

Options:
      --volumes                    Remove named volumes declared in the `volumes` section of the Compose file and anonymous volumes attached to containers.
  -tundefined --timeout=TIMEOUT            Specify a shutdown timeout in seconds.
  -fundefined --file=FILE                  Specify an alternate compose file [default: "docker-compose.yml"]
  -pundefined --project-name=PROJECT-NAME  Specify an alternate project name
  -hundefined --help                       Display this help message
  -qundefined --quiet                      Do not output any message
  -Vundefined --version                    Display this application version
      --ansi                       Force ANSI output
      --no-ansi                    Disable ANSI output
  -nundefined --no-interaction             Do not ask any interactive question
  -v|vv|vvvundefined --verbose             Increase the verbosity of messages: 1 for normal outputundefined 2 for more verbose output and 3 for debug