47
Distrobox in practice (hackeryarn.com)
submitted 2 years ago by hackeryarn@lemmy.world to c/linux@lemmy.ml
all 15 comments
sorted by: hot top new old
[-] ultra@feddit.ro 4 points 2 years ago

Doesn't nix do all of this without containers?

[-] lupec@lemm.ee 4 points 2 years ago* (last edited 2 years ago)

I think so but this method does remove the quite significant barrier of having to figure out nix's language and quirks, so I'd argue there's merit to the workflow. Still, you're trading it for containerization know-how, so not necessarily the best choice.

[-] hackeryarn@lemmy.world 2 points 2 years ago

Yeah it does. I actually use nix as my base OS on one machine. But when I need to work on a project that will never be packaged with nix, and I need all the dependencies, it really becomes impossible to just use nix.

Nix makes an amazing bas OS, however.

[-] False@lemmy.world 2 points 2 years ago

I don't really get the comparison to vagrant. It doesn't seem like it feels the same role? Can distro box be used to share environments with other developers or used in CI/CD processes?

[-] hackeryarn@lemmy.world 2 points 2 years ago

I use it to share environments with a small team. Just have distrobox specific Docker files and we can all spin up the same distrobox environment locally.

We end up having a different base docker file (e.g. our distrobox one has editors and stuff), but we all share the same project specific docker file. That same project specific file gets used in CI/CD and deployment, but with a minimal base. So all in all, I would say it's even better than Vagrant because we run the same system in production.

this post was submitted on 18 Sep 2023
47 points (96.1% liked)

Linux

67301 readers
667 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS