LinuxCommandLibrary

distrobox-create

create Distrobox containers from Linux distribution images

TLDR

Create container using Ubuntu image

$ distrobox-create [container_name] -i [ubuntu:latest]
copy
Clone an existing container
$ distrobox-create -c [container_name] [cloned_container_name]
copy

SYNOPSIS

distrobox-create [options] [name]

DESCRIPTION

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.

PARAMETERS

-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

CAVEATS

Requires Podman or Docker. Images must be compatible Linux distributions. Home directory sharing is bidirectional. First entry may take time for initialization.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community