← 返回命令列表

Linux command

distrobox-rm 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Remove

distrobox-rm [container_name]

Force

distrobox-rm -f [container_name]

Example

distrobox-rm --all

Example

distrobox-rm --rm-home [container_name]

Example

distrobox-rm --root [container_name]

Example

distrobox-rm -v [container_name]

说明

distrobox-rm removes a Distrobox container. It is recommended to stop the container before removing it. Distrobox containers are OCI containers that integrate with the host system.

参数

-f, --force
Force removal of the container even if running.
-a, --all
Remove all Distrobox containers.
--rm-home
Remove the mounted home directory if it differs from the host user's home.
--root, -r
Launch podman/docker/lilipod with root privileges. Preferred over using sudo directly.
-v, --verbose
Show additional output.
-Y, --yes
Assume yes to all prompts.
-h, --help
Show help message.

FAQ

What is the distrobox-rm command used for?

distrobox-rm removes a Distrobox container. It is recommended to stop the container before removing it. Distrobox containers are OCI containers that integrate with the host system.

How do I run a basic distrobox-rm example?

Run `distrobox-rm [container_name]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -f, --force do in distrobox-rm?

Force removal of the container even if running.