LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

distrobox

Run Linux distributions in containers with host integration

TLDR

Create a new container
$ distrobox create --name [mycontainer] --image [ubuntu:latest]
copy
List all containers
$ distrobox list
copy
Enter a container
$ distrobox enter [mycontainer]
copy
Run a command inside a container
$ distrobox enter [mycontainer] -- [command]
copy
Export an app from the container to the host
$ distrobox-export --app [application]
copy
Upgrade all containers
$ distrobox upgrade --all
copy
Stop a container
$ distrobox stop [mycontainer]
copy
Remove a container
$ distrobox rm [mycontainer]
copy

SYNOPSIS

distrobox [globaloptions] subcommand [options] [arguments_]

DESCRIPTION

distrobox allows running any Linux distribution inside a terminal container while tightly integrating with the host OS. Containers share the home directory, storage, and hardware access (including graphics and audio).Built on top of Podman or Docker, it provides seamless access to different distributions' package managers and software. Applications installed inside containers can be exported to appear in the host's application menu.

PARAMETERS

create

Create a new container.
enter
Enter an existing container.
list
List containers created with distrobox.
rm
Remove a container.
stop
Stop a running container.
upgrade
Upgrade one or more containers.
--help, -h
Display help information.
--root
Run distrobox as root (using sudo/doas).

SEE ALSO

Copied to clipboard
Kai