DISTROBOX-RM(1)
π DISTROBOX-RM π
okay bestie, welcome to the DISTROBOX-RM(1) page β part of the Distrobox User Manual, and yes it's giving "spring cleaning but make it terminal" energy. this is the little tool that β¨ deletes β¨ your distroboxes. bye babe π
πΈ NAME πΈ
distrobox rmdistrobox-rm
(yeah it answers to both names, she contains multitudes π«Ά)
π¦ DESCRIPTION π¦
distrobox-rm delete one of the available distroboxes.
like. it removes a distrobox. that's the whole vibe. one distrobox, gone, poof, no takebacks π
β¨ SYNOPSIS β¨
distrobox rm
here come the flags, and you're gonna wanna read these fr fr, no skipping:
--all,-aβ delete all distroboxes. every single one. the whole collection. π--force,-fβ force deletion. she's not asking permission, she's just doing it.--rm-homeβ remove the mounted home if it differs from the host user's one. (keyword: if it differs β do not come for me, that's literally what it says π)--root,-rβ launchpodman/docker/lilipodwith root privileges. and okay important note: if you need root, this is the preferred way over"sudo distrobox". also note that if using a program other thansudofor root privileges is necessary, specify it through theDBX_SUDO_PROGRAMenv variable, ordistrobox_sudo_programconfig variable. iykyk π--help,-hβ show this message--verbose,-vβ show more verbosity--version,-Vβ show version
bestie warning:--alland--forceare the "main character energy" flags. they will absolutely delete things. respect them. π¨
π EXAMPLES π
the classic, deletin' one container:
distrobox-rm container-name [--force] [--all]
and you can also use environment variables to specify container manager and name, which is lowkey iconic:
DBX_CONTAINER_MANAGER="docker" DBX_CONTAINER_NAME=test-alpine distrobox-rm
see? you can just say which manager and which name up front and she gets it. obsessed. β
π§ ENVIRONMENT VARIABLES π§
the full roster, no notes:
DBX_CONTAINER_MANAGERDBX_CONTAINER_NAMEDBX_NON_INTERACTIVEDBX_SUDO_PROGRAM
that's the whole page, bestie, you ate that π
source/version: Distrobox β dated Mar 2026 β manual page DISTROBOX-RM(1). go forth and clean up your containers responsibly, ily ππ
π¦ where this page comes from
- alpine 3.24: distrobox-doc 1.8.2.5-r0 Β· GPL-3.0-only
- arch rolling: distrobox 1.8.2.5-1 Β· GPL-3.0-only
- epel 10: distrobox 1.8.2.5-1.el10_3 Β· GPL-3.0-only
- epel 9: distrobox 1.8.2.5-1.el9 Β· GPL-3.0-only
- fedora 43: distrobox 1.8.2.5-1.fc43 Β· GPL-3.0-only
- fedora 44: distrobox 1.8.2.5-1.fc44 Β· GPL-3.0-only
- nixos 26.05: distrobox 1.8.2.5
- nixpkgs unstable: distrobox 1.8.2.5
- ubuntu stonking: distrobox 1.8.2.5-1 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms