Hello! 😀
I want to share my thoughts on docker and maybe discuss about it!
Since some months I started my homelab and as any good “homelabing guy” I absolutely loved using docker. Simple to deploy and everything. Sadly these days my mind is changing… I recently switch to lxc containers to make easier backup and the xperience is pretty great, the only downside is that not every software is available natively outside of docker 🙃
But I switch to have more control too as docker can be difficult to set up some stuff that the devs don’t really planned to.
So here’s my thoughts and slowly I’m going to leave docker for more old-school way of hosting services. Don’t get me wrong docker is awesome in some use cases, the main are that is really portable and simple to deploy no hundreds dependencies, etc. And by this I think I really found how docker could be useful, not for every single homelabing setup, and it’s not my case.

Maybe I’m doing something wrong but I let you talk about it in the comments, thx.

  • PhilipTheBucket@ponder.cat
    link
    fedilink
    English
    arrow-up
    33
    ·
    10 days ago

    It’s hard for me to tell if I’m just set in my ways according to the way I used to do it, but I feel exactly the same.

    I think Docker started as “we’re doing things at massive scale, and we need to have a way to spin up new installations automatically and reliably.” That was good.

    It’s now become “if I automate the installation of my software, it doesn’t matter that the whole thing is a teetering mess of dependencies and scripted hacks, because it’ll all be hidden inside the container, and also people with no real understanding can just push the button and deploy it.”

    I forced myself to learn how to use Docker for installing a few things, found it incredibly hard to do anything of consequence to the software inside the container, and for my use case it added extra complexity for no reason, and I mostly abandoned it.

    • Croquette@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      14
      ·
      10 days ago

      I hate how docker made it so that a lot of projects only have docker as the official way to install the software.

      This is my tinfoil opinion, but to me, docker seems to enable the “phone-ification” ( for a lack of better term) of softwares. The upside is that it is more accessible to spin services on a home server. The downside is that we are losing the knowledge of how the different parts of the software work together.

      I really like the Turnkey Linux projects. It’s like the best of both worlds. You deploy a container and a script setups the container for you, but after that, you have the full control over the software like when you install the binaries

      • Strit@lemmy.linuxuserspace.show
        link
        fedilink
        English
        arrow-up
        12
        ·
        10 days ago

        I hate how docker made it so that a lot of projects only have docker as the official way to install the software.

        Just so we are clear on this. This is not dockers fault. The projects chose Docker as a distribution method, most likely because it’s as widespread and known as it is. It’s simply just to reach more users without spreading too thin.

        • Croquette@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          4
          ·
          9 days ago

          You are right and I should have been more precise.

          I understand why docker was created and became popular because it abstracts a lot of the setup and make deployment a lot easier.

        • jj4211@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          8 days ago

          Yeah, but it is hard to separate that, and it’s easy to get a bit resentful particularly when a projects quality declines in large part because they got lazy by duct taping in container registries instead of more carefully managing their project.

    • foremanguy@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      5
      ·
      10 days ago

      I agree with it, docker can be simple but can be a real pain too. The good old scripts are the way to go in my opinion, but I kinda like the lxc containers in docker, this principle of containerization is surely great but maybe not the way docker does… (maybe distrobox could be good too 🤷 )

      Docker is absolutely a good when having to scale your env but I think that you should build your own images and not use prebuild ones