Files

39 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

2022-06-22 08:47:30 +02:00
<!-- markdownlint-disable MD010 MD036 -->
# NAME
distrobox rm
# DESCRIPTION
2022-01-13 19:23:12 +01:00
`distrobox rm` deletes one of the available distroboxes.
2022-01-13 19:23:12 +01:00
2022-06-22 08:47:30 +02:00
# SYNOPSIS
**distrobox rm**
--all/-a: delete all distroboxes
2022-06-22 08:47:30 +02:00
--force/-f: force deletion
--yes/-Y: non-interactive, skip the deletion confirmation prompt
2022-10-19 19:16:26 +02:00
--rm-home: remove the mounted home if it differs from the host user's one
2023-09-15 10:58:15 +02:00
--root/-r: launch podman/docker/lilipod 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)
2022-06-22 08:47:30 +02:00
--help/-h: show this message
--verbose/-v: show more verbosity
--version/-V: show version
# EXAMPLES
2022-01-13 19:23:12 +01:00
distrobox rm container-name [--force] [--all]
2022-01-13 19:23:12 +01:00
You can also use environment variables to specify container manager and name:
DBX_CONTAINER_MANAGER="docker" DBX_CONTAINER_NAME=test-alpine distrobox rm
2023-03-29 09:00:21 +02:00
# ENVIRONMENT VARIABLES
DBX_CONTAINER_MANAGER
DBX_CONTAINER_NAME
DBX_NON_INTERACTIVE
DBX_SUDO_PROGRAM