Skip to content

dicer rmi

Deletes the images named, or with --all every image, asking first on a terminal. An image an instance is defined to boot from is refused unless -f is given; to delete only the unused ones, see dicer image prune.

Usage

$ dicer rmi (REF... | --all) [flags]

Flags

FlagDescription
-A, --allDelete all images.
-f, --forceForce deletion of an image that is in use by one or more instances.
--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).