Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.07 KB

distrobox-rm.md

File metadata and controls

39 lines (27 loc) · 1.07 KB

NAME

distrobox rm
distrobox-rm

DESCRIPTION

distrobox-rm delete one of the available distroboxes.

SYNOPSIS

distrobox rm

--name/-n:		name for the distrobox
--force/-f:		force deletion
--rm-home:		remove the mounted home if it differs from the host user's one
--root/-r:		launch podman/docker with root privileges. Note that if you need root this is the preferred
			way over "sudo distrobox" (note: if using a program other than 'sudo' for root privileges is necessary,
			specify it through the DBX_SUDO_PROGRAM env variable, or 'distrobox_sudo_program' config variable)
--help/-h:		show this message
--verbose/-v:		show more verbosity
--version/-V:		show version

EXAMPLES

distrobox-rm --name container-name [--force]
distrobox-rm container-name [-f]

You can also use environment variables to specify container manager and name:

DBX_CONTAINER_MANAGER="docker" DBX_CONTAINER_NAME=test-alpine distrobox-rm

Supported environment variables:

DBX_CONTAINER_MANAGER
DBX_CONTAINER_NAME
DBX_NON_INTERACTIVE
DBX_SUDO_PROGRAM