Skip to content
This is the documentation for main, which is not released yet. Read the latest.

dicer compose down

Stops and deletes the project’s instances, in the reverse of the order they start in, then deletes the networks the file declares. Volumes are kept, so that their data outlives the instances, unless --volumes is given. External networks and volumes are never deleted.

Usage

$ dicer compose down [flags]

Examples

$ dicer compose down
$ dicer compose down --volumes --remove-orphans

Flags

FlagDescription
--remove-orphansDelete the project’s instances whose service is no longer in the file too.
-v, --volumesDelete the volumes the file declares too, and the data on them.

Global flags

FlagDescription
-D, --debugTrace every call to the daemon on stderr (or set $DICER_DEBUG).
-r, --remote stringDaemon to talk to: a remote’s name, or an address (unix:///PATH or HOST:PORT) (default $DICER_REMOTE, then the current remote, then local).
--request-timeout durationGive up on a single call to the daemon after this long, e.g. 30s (0: never; streams such as logs -f and exec are not bounded).