Distrobox: Difference between revisions
(add important remark to my earlier troubleshooting contribution) |
Prabuanand (talk | contribs) |
||
Line 18: | Line 18: | ||
== Troubleshooting == | == Troubleshooting == | ||
== See also == | == See also == |
Latest revision as of 03:48, 23 September 2025
Distrobox allows running any Linux distribution inside your terminal. Distrobox uses Podman, Docker etc.. to create containers using the Linux distribution of your choice. This enables both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with.
Installation
Installing distrobox package automatically installs Podman as a dependency, on issuing the command:
# apk add distrobox
Running graphical programs
Configure Podman to run in rootless mode.
Create a container using an image of your choice. Here Debian is installed using the command:
$ distrobox create --name my-debian --image debian $ distrobox enter my-debian
When Wayland desktop like Sway runs without xwayland on the Alpine Linux host, electron apps like vscode
, google-chrome
etc needs to be started as follows:$ distrobox enter my-debian -- code --ozone-platform=wayland
.
If you are running X11 desktop, it may also be necessary to allow X authorization for GUI programs to work: $ xhost +si:localuser:$USER