Hi, I’ve been thinking for a few days whether I should learn Docker or Podman. I know that Podman is more FOSS and I like it more in theory, but maybe it’s better to start with docker, for which there is a lot more tutorials. On the other hand, maybe it’s better to straight up learn podman when I don’t know any of the two and not having to change habits later. What do you think? For context, I know how containers works in theory, I know some linux I think well, but I never actually used docker nor podman. In another words: If I want to eventually end up with Podman, is it easier to start with docker and then learn Podman, or start with Podman right away? Thanks in advance

    • stepanzak@iusearchlinux.fyiOP
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      1
      ·
      3 months ago

      Do you selfhost stuff on bare metal? I feel like most projects provide containers as their officially supported packages.

      • 2xsaiko@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        2
        ·
        3 months ago

        I use distro packages. In the rare case something isn’t packaged yet, I package it myself. And for the isolation, systemd services can do most of the things docker can if you need (check systemd-analyze security).

        For just hosting services that can be done instead with normal system services, docker makes your setup a lot more complex (especially on the networking side), for little if any gain. Unless I need to spin up something multiple times temporarily on demand or something has a hard dependency on it, I’m not going to bother with it anymore.

      • SaintWacko@midwest.social
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        3
        ·
        3 months ago

        They’re being useless, but what I do is use Proxmox and just install my stuff each in their own LXC

        • Victor@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          arrow-down
          2
          ·
          3 months ago

          Not sure why all the down votes without any explanation.

          I too don’t use docker for my services. I run Plex on my Arch install via the provided AUR package. 🤷‍♂️ Nobody told me I needed to do otherwise, with docker or anything else. Not sure why that would be better in any way. It could hardly be more performant? And it’s as simple as enabling the service and forgetting about it.

          • SpaceNoodle@lemmy.world
            link
            fedilink
            English
            arrow-up
            3
            arrow-down
            4
            ·
            edit-2
            3 months ago

            People love to hate on people who don’t care for containers.

            Also, I’m guessing that nobody here actually knows what it means to run code on bare metal.

            What you’re doing is fine. No need to make life harder for yourself.

            • Victor@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              3 months ago

              People love to hate on people who don’t care for containers.

              Maybe so. 😕

              what it means to run code on bare metal

              I’m guessing it means something slightly different than what most people think, namely to just run it in the OS. Would you explain to me what it really means?

              • SpaceNoodle@lemmy.world
                link
                fedilink
                English
                arrow-up
                1
                ·
                3 months ago

                Bare metal would mean without an OS to manage peripherals, resources, even other tasks - like you might find on a resource-constrained embedded system.