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

dicer rm

Deletes the instances named, or with --all every instance, asking first on a terminal. A running instance is refused unless -f stops it first.

Usage

$ dicer rm (NAME... | --all) [flags]

Examples

$ dicer rm web
$ dicer rm -f web worker
$ dicer rm --all -f

Flags

FlagDescription
-A, --allDelete all instances.
-f, --forceStop an instance first if it is running.
--ignore-missingSucceed for a name that does not exist, rather than fail.
-y, --yesWith --all, do not ask before deleting.

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).