• 0 Posts
  • 42 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle















  • Nix is really useful as well. But it’s not always a one-for-one replacement.

    One problem I hit with nix is the size, after adding latex and a few other related packages, The install time took a very long time And the amount of space consumed was over 150 GB.

    It wasn’t too bad because I was able to put it on a compressed ZFS data set but it wasn’t great. Whereas distrobox and podman built quicker, had a smaller size and it was easier to move the image between machines.

    The other issue I hit with it was having to set environment variables for QT.

    Definitely a nice piece of software just a little rough around the edges.

    I suppose that’s my point. I have tried alternatives and many are good for many things but Docker works for all things.

    But Docker is a bit of a sledgehammer approach by packaging a whole operating system.




  • Well I typically write my own dockerfiles so I have a good understanding of how a lot of software works, I’m sure others do too. It has increased the reproducibility of my stack, my understanding of dependencies and the reliability. Docker is not just docker compose up

    Yeah the containers can be large and usually will lead to large downloads. I have tried bubble wrap and raw chroots but the tooling around docker is a lot better. The change to php8 was a pain, hence why I went docker. An alpine base with clearly defined deps gives me a container that is thin enough but I can move from a Gentoo box to arch for free. This, for my use case, is great.

    I put everything in a docker container and it’s been, mostly, a net positive. You may laugh at me but it works very well for my use case.

    Overall, net positive. I recommend everybody try it and use where appropriate.

    This isn’t a religion and subscribing to dogma for want of suckless stacks won’t always be the best path to the end goal.

    However, you’re right, docker may not always be the best call and it may promote bloated garbage.