Install a containerized Linux with Distrobox
One for All
© Photo by Rawpixel on Unsplash
Distrobox uses Docker, Podman, or Lilipod to bundle several distributions in a single container.
Testing distributions is part and parcel of everyday life for many developers, and some people even enjoy distro hopping as a hobby. The easiest approach to living life with multiple distributions is virtualization. There are various ways of running distributions in virtual environments. Options include hypervisors such as VMware, VirtualBox, KVM/Qemu, Gnome boxes, and Proxmox. Network-Attached Storage (NAS) systems such as Unraid and TrueNAS can also function as virtualization platforms for operating virtual machines (VMs) via a web interface.
Distrobox [1] is yet another option that lets you use any Linux distribution from inside your terminal. Introduced in 2021 and maintained by Luca Di Maio, Distrobox uses Fedora's toolbx utility [2] as a template. You can even use Distrobox with BoxBuddy [3] if you prefer working with a graphical user interface (GUI).
Distrobox styles itself as the Swiss Army knife of the distribution scene. Developers and package maintainers can use Distrobox containers to quickly test their applications on various distributions. Assuming you use Debian as your host system and have installed Arch Linux in Distrobox, you can test your packages not only against Arch Linux, but also against Debian, Fedora, SUSE, and many other distributions.
[...]
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
UN Creates Open Source Portal
In a quest to strengthen open source collaboration, the United Nations Office of Information and Communications Technology has created a new portal.
-
Latest Linux Kernel RC Contains Changes Galore
Linux kernel 7.0-rc3 includes more changes than have been made in a single release in recent history.
-
Nitrux 6.0 Now Ready to Rock Your World
The latest iteration of the Debian-based distribution includes all kinds of newness.
-
Linux Foundation Reports that Open Source Delivers Better ROI
In a report that may surprise no one in the Linux community, the Linux Foundation found that businesses are finding a 5X return on investment with open source software.
-
Keep Android Open
Google has announced that, soon, anyone looking to develop Android apps will have to first register centrally with Google.
-
Kernel 7.0 Now in Testing
Linus Torvalds has announced the first Release Candidate (RC) for the 7.x kernel is available for those who want to test it.
-
Introducing matrixOS, an Immutable Gentoo-Based Linux Distro
It was only a matter of time before a developer decided one of the most challenging Linux distributions needed to be immutable.
-
Chaos Comes to KDE in KaOS
KaOS devs are making a major change to the distribution, and it all comes down to one system.
-
New Linux Botnet Discovered
The SSHStalker botnet uses IRC C2 to control systems via legacy Linux kernel exploits.
-
The Next Linux Kernel Turns 7.0
Linus Torvalds has announced that after Linux kernel 6.19, we'll finally reach the 7.0 iteration stage.
