Linux command
distrobox-create 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Example
distrobox-create [container_name] -i [ubuntu:latest]
Clone
distrobox-create -c [container_name] [cloned_container_name]
说明
distrobox-create creates a Distrobox container from any Linux distribution image. The container integrates tightly with the host, sharing the user's home directory, external storage, USB devices, graphics (X11/Wayland), and audio.
参数
- -i, --image _image_
- Container image to use
- -n, --name _name_
- Container name
- -c, --clone _container_
- Clone existing container
- -H, --home _path_
- Custom home directory
- --init
- Use init system inside container
- --nvidia
- Enable NVIDIA GPU support
- --root
- Create rootful container
FAQ
What is the distrobox-create command used for?
distrobox-create creates a Distrobox container from any Linux distribution image. The container integrates tightly with the host, sharing the user's home directory, external storage, USB devices, graphics (X11/Wayland), and audio.
How do I run a basic distrobox-create example?
Run `distrobox-create [container_name] -i [ubuntu:latest]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -i, --image _image_ do in distrobox-create?
Container image to use