GB
  
You are currently viewing the United Kingdom version of the site.
Would you like to switch to your local site?
16 MIN READ TIME

DISTROBOX

Explore a box full of distributions

Containers

Open Mats Tage Axelsson’s box – it’s much nicer than Pandora’s and he’ll show you how to use all the distros in there too…

The mass of distributions and package managers is soothing to the soul but requires extra effort. You may not use anything but the vanilla stuff that comes bundled with your distribution, but if you’re on the look out for something extra, or want to develop using a strict development environment, you can use Distrobox.

Distrobox runs containers as though they are part of your system, making it easy to mix and match without messing up stability. If you have tried Docker or Podman, you will be familiar with the idea of containers. If not, where have you been for the last decade? So here’s an introduction to the setup and use of Distrobox, to help you decide if it is for you or not!

OUR EXPERT

Mats Tage Axelsson uses Linux every day for longer than is socially acceptable among most people. This leads to a deep knowledge of Linux. And loneliness.

Open the box!

The designers describe Distrobox as “a fancy wrapper around Podman or Docker”. When you run Docker or Podman, you must set your image to communicate with the host system, and these settings are from a security perspective.

Handling these settings is complicated and essential to get right for web-facing servers. When you use it as a second source of packages, only for local use, you can drop your guard a little. With Distrobox, all the settings are done by the tool.

On your own PC, your containers have access to your home directory. This is the biggest point of running Distrobox: all containers run with the same user and user directories. This is very convenient for your own PC but this is not how you should run containers serving the public internet.

As you enter your container the first time, it installs basic packages for using the container as a Distrobox.

It can be hard to use applications in containers, because security is paramount. On your PC, though, you can do more things, especially with Podman. This means you can use an application from the AUR on a Fedora machine and it behaves as if installed locally.

Why use it?

The first reason to use a tool like Distrobox would be to get familiar with a new package system manager. Though differences are small, they can be significant enough to make life difficult when going between them. You may also have your own PC use one system, while you run into other systems for professional reasons. Maybe you run a VPS for a game server.

Another reason is to find those rare applications that only work on some obscure distro you do not use on your home system. It could be that the latest and hottest apps only exist in the AUR or that an old application still only works on Ubuntu 18.04. With a container, you can keep the old system while moving forward with your main stable setup.

Unlock this article and much more with
You can enjoy:
Enjoy this edition in full
Instant access to 600+ titles
Thousands of back issues
No contract or commitment
Try for 99p
SUBSCRIBE NOW
30 day trial, then just £9.99 / month. Cancel anytime. New subscribers only.


Learn more
Pocketmags Plus
Pocketmags Plus

This article is from...


View Issues
Linux Format
January 2023
VIEW IN STORE

Other Articles in this Issue


WELCOME
MEET THE TEAM
This issue, we’re helping people escape Windows again and use Elementary OS instead. What would you suggest a newbie should try out in the open source world?
It just works!
It’s a phrase I’ve seen used steadily for
REGULARS AT A GLANCE
Newsdesk
THIS ISSUE: Funding programmes Google’s secure OS Godot goes independent Torvalds interview Arm case aids RISC-V
Kernel Watch
Jon Masters keeps an eye out for all the latest happenings in the Linux kernel, so you don’t have to.
ONGOING DEVELOPMENT
The Asahi Linux project posted a lengthy update
Answers
Got a burning question about open source or the kernel? Whatever your level, email it to answers@linuxformat.com
Mailserver
Hmm, MX Linux has been the number one
A Photo Tool Libre
Version: 1.0.4-3 Web: https://github.com/ aphototool/A-Photo-Tool-Libre Many desktop distributions
Shutter Encoder
MULTIMEDIA CONVERTER
Passy
OFFLINE PASSWORD MANAGER
Open-Typer
TYPING TUTOR
Qtexttospeech
TEXT TO SPEECH
Thorium
WEB BROWSER
Ásbrú Connection Manager
SESSION MANAGER
ET: Legacy
FIRST-PERSON SHOOTER
Cro-Mag Rally
RACING GAME
Nvtop
GPU PROCESS MONITOR
Stretchly
BREAK REMINDER
LINUX FORMAT
The #1 open source mag Future Publishing Limited,
REVIEWS
Samsung 990 Pro 2TB
Return of the king? Yes, Jeremy Laird is back.
Phrozen Sonic 8K
Bigger prints, finer details, Linux support – is
AntiX-22
Nate Drake discovers there’s lots to love about the fast, lightweight and stable operating system that is AntiX.
Voyager Live 22.10
Nate Drake explores the glorious union of Gnome and Xfce in a single OS. You’ll never look at your desktop the same way again.
Ubuntu Unity 22.10
Nate Drake takes you on a trip down memory lane as the Unity Desktop makes its official comeback to Ubuntu.
ROUNDUP
ROUNDUP
Trilium 0.56 CherryTree 0.99 Zim 0.75 Joplin 2.8.8 QOwnNotes 22.10.3
ESCAPE WINDOWS
Looking for a practical alternative to Windows? Nick Peers reveals how to set up and use the extremely user-friendly Elementary OS.
You’ve made your choice – it’s time to install Linux alongside Windows.
Install Elementary OS alongside Windows
Take the desktop tour
The big selling point of Elementary OS is its desktop – here’s what you need to know.
Installing new apps
Finding and installing apps in Elementary OS is easy, but you’ll need more than the default app store provided.
Take a deeper dive
Your new operating system is up and running, and your journey into Linux has begun. Here’s where to focus your efforts next.
Pi USER
TWEET DREAMS ARE MADE OF THIS
Les Pounder is an editor at Tom’s Hardware
Pis to be fully stocked by autumn 2023
Eben Upton tells us we can expect shelves to be groaning with Raspberry Pis again later in 2023.
3, 2, 1, Make!
More projects!
EsPiFF
A new microcontroller.
PiKISS v1.10.0
Les Pounder is getting to an age where things need to be simple, so when someone said “Keep It Simple, Stupid”, he took no offence.
Build your own bespoke USB device
Les Pounder uses his snake charming skills again to prove how easy it is to make USB devices with Python and the cheapest of Pis.
Design and build your dream Pi robot
In his latest series, Les Pounder explains how to plan, design and build your very own Raspberry Pi robot from the basics up.
Monitor and graph your system metrics
Graphs make Matt Holder happy, so he spent his weekend storing system statistics in a database and pumping out graphs so you can, too!
The Audacity of it
We chat with Martin Keary about the new features of Audacity, managing a community and the pitfalls of telemetry.
TUTORIALS
Improve your typing
Years ago, when Shashank Sharma had more hair on his scalp than cheeks, he decided to master touch-typing. With these tools, so can you.
Take full control of your passwords
Nick Peers reveals how to get started with Buttercup, a password manager that puts you firmly in control of your sensitive data.
ReactOS: the open source Windows
Open source OS
Create videos from time-lapse photos
Time-lapse videos
Get started photo editing with GIMP
Photo editing
IN DEPTH
Open source RAW photography
Linux offers all the pro-level tools you could possibly need for better photos. Karsten Günther is your top-tips guide.
CODING ACADEMY
Using eBPF to monitor filesystems
Mihalis Tsoukalos explains how to use eBPF to track filesystems.
Code an admin back-end in Django
Continuing with our magazine cataloguing application, Matt Holder explains how to create admin controls and basic view functions
Chat
X
Pocketmags Support