The End of 'It Works on My Machine': How Distrobox Saves Your PC!

Have you ever experienced the frustration of having to install an older version of Python to maintain a legacy project, and then immediately needing the latest version of Node.js for another project, only to see your system packages conflict?

Your local machine, once clean and sacred, begins to turn into the famous “it works on my machine” scenario. Full of broken PPAs, version managers fighting each other, and accumulated junk.

In this post, I will show you the definitive solution for developers and DevOps engineers: Distrobox.

What is Distrobox?

We use Docker to isolate applications in production. But what about our daily development environment?

Distrobox uses the Podman or Docker you already have installed to create containers highly integrated with your current system. The big difference is that, in Distrobox, you “enter” the container and feel like you are on your physical machine. Your bash/zsh configurations, your network, your Home folder files, SSH keys, and even graphical interfaces are already inside, ready for use.

Practical Use Cases

Watch the Full Video

If you want to see the step-by-step in practice, take a look at the full video I prepared on the subject:

Download the distrobox.ini File

To make it easier, I’ve made available the distrobox.ini configuration file that I use in the class. You can use it as a base to declare your containers and create your infrastructure as code also on your local machine.

👉 Click here to download the distrobox.ini file


Did you like the tip? Let me know in the comments of this post or the video how you organize your development environments today!

Advertisement

Comments

Start searching

Enter keywords to search articles

↑↓
ESC
⌘K Shortcut