2022-06-22 08:47:30 +02:00
|
|
|
<!-- markdownlint-disable MD010 MD036 -->
|
|
|
|
|
# NAME
|
|
|
|
|
|
|
|
|
|
distrobox rm
|
|
|
|
|
|
|
|
|
|
# DESCRIPTION
|
2022-01-13 19:23:12 +01:00
|
|
|
|
2026-06-25 12:29:31 +02: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**
|
|
|
|
|
|
2023-08-03 22:47:11 +02:00
|
|
|
--all/-a: delete all distroboxes
|
2022-06-22 08:47:30 +02:00
|
|
|
--force/-f: force deletion
|
2026-06-25 12:29:31 +02:00
|
|
|
--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
|
2022-07-10 17:24:50 -03:00
|
|
|
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
|
|
|
|
2026-06-25 12:29:31 +02:00
|
|
|
distrobox rm container-name [--force] [--all]
|
2022-01-13 19:23:12 +01:00
|
|
|
|
2022-05-23 10:09:36 +02:00
|
|
|
You can also use environment variables to specify container manager and name:
|
|
|
|
|
|
2026-06-25 12:29:31 +02:00
|
|
|
DBX_CONTAINER_MANAGER="docker" DBX_CONTAINER_NAME=test-alpine distrobox rm
|
2022-05-23 10:09:36 +02:00
|
|
|
|
2023-03-29 09:00:21 +02:00
|
|
|
# ENVIRONMENT VARIABLES
|
2022-05-23 10:09:36 +02:00
|
|
|
|
|
|
|
|
DBX_CONTAINER_MANAGER
|
|
|
|
|
DBX_CONTAINER_NAME
|
|
|
|
|
DBX_NON_INTERACTIVE
|
2022-07-10 17:24:50 -03:00
|
|
|
DBX_SUDO_PROGRAM
|