Application optimization reduces disk usage and reclaims space. 🙂

  • Boomkop3@reddthat.com
    link
    fedilink
    arrow-up
    1
    ·
    17 hours ago

    Perhaps it’s improved over the last year, I can give it a shot. But yes, for my own packaged applications without shared dependencies, docker is handy. And that’s exclusively what I run

    • PhilipTheBucket@ponder.cat
      link
      fedilink
      arrow-up
      1
      ·
      16 hours ago

      I mean if it makes you happy, I won’t tell you to do anything different. I think a certain amount of it is just prejudice against Docker on my part. Just in my experience NixOS is the best of both worlds: You can have a single coherent system if everything in that system can play nice with each other, and if not, then things can be containerized completely that way still works too. And then on top it has a couple of other nice features like rolling back configs easily, or source builds that get slotted in in-place as if they were standard packages (which is generally where I abandon Docker installs of things, because making changes to the source seems like it’s going to be a big hassle).

      I’m not trying to evangelize though, you should in all seriousness just do what you find to be effective.

      • Boomkop3@reddthat.com
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        15 hours ago

        Hold up, nix added containerization? How did I miss that? I will have another look now!

        Also, you’re right. For small quick scripts docker can be a hassle. Nowadays though I add building a docker image as part of my project’s build/compilation process. The main reason I do this is so that I can work with whatever machine I happen to be on, then just copy paste the app to whatever machine I want it on. No extra config or even a look at the environment required. Just install docker and forget about the rest

        update: installing docker on nixos (on a vm) with a nix package failed, not sure why. Perhaps some dependencies were no longer available?

        update: nix is is available as a docker image. I’m running it now, we shall see how it goes