• madjo@feddit.nl
      link
      fedilink
      English
      arrow-up
      3
      ·
      6 days ago

      I seem to be unable to wrap my head around Docker. I have one application running through Docker (Immich) but I have no idea how it works. It’s running, and until further notice, I ain’t touching it.

      I have Home Assistant running through an instance on my Proxmox server. That I can understand much better than anything Docker.

      • traches@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        3
        ·
        6 days ago

        It’s worth taking the effort to learn if you want to self host stuff. The neat part is once you learn it, you can self host basically anything. Think of a container like a little packaged application that can only interact with the outside world through pathways you give it, either through volume mounts (files) or port mappings (network).

        Immich is one of the more complicated and intimidating docker-compose files out there. Try something like glance or miniflux to get a gentler introduction.

        • madjo@feddit.nl
          link
          fedilink
          English
          arrow-up
          3
          ·
          6 days ago

          So far I’ve created a new ProxMox container for each application I wanted to run. So I have pihole running in an LXC, Nextcloud in another LXC, Audiobookshelf in yet another LXC, Home Assistant in a VM, etc.

          I’m sure that could be done more efficiently with Docker, but for some reason that just doesn’t want to click. I don’t know where the applications end up installed at, I don’t know how to configure stuff, nor how to run multiple docker containers on the same machine.

          Immich is the first application I have managed to get running full time in Docker, but I’ve already encountered an issue with uploads that I can’t solve, because I have no idea where to find the config files, nor how to restart it. So I’ll leave it as is, for now. Maybe when my brain can get engaged, I can try again.

      • traches@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        5
        arrow-down
        1
        ·
        8 days ago

        From a fuckery standpoint? Docker is way easier, and it works the same way for everything.

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

          It’s literally the same thing as running the app from base repo. There is no “fuckery”. The entrypoint of a container is the same as just running the python runtimes for any project. You have zero idea what you’re talking about.

              • KairuByte@lemmy.dbzer0.com
                link
                fedilink
                English
                arrow-up
                1
                ·
                6 days ago

                Why are you running pipinstall when using a docker container?… Or are you talking about manually creating your own container?

                  • KairuByte@lemmy.dbzer0.com
                    link
                    fedilink
                    English
                    arrow-up
                    1
                    ·
                    6 days ago

                    Why exactly are you comparing the docker file to bare metal, and implying you need to do more than run a docker command?

                    You don’t install anything when using docker (beyond docker of course.)

              • traches@sh.itjust.works
                link
                fedilink
                English
                arrow-up
                6
                arrow-down
                1
                ·
                8 days ago

                Dudebro, I write software and run servers for a living. Admittedly I don’t work with python, but I have developed web applications that run both on bare metal and in docker containers and I’m telling you that the amount of fuckery required to spin up anything on bare metal will 99% of the time be more than what’s needed to spin up the same application in a container. The end result will be more brittle and more likely to conflict with other software on the same machine.

                Also, sure it’s not hard to install HASS in a pyenv now, because the dev team specifically ensured it. Maybe that requires tradeoffs that they don’t want to make anymore?

                Seriously quit being a dick to people in niche software communities, it’s pathetic