• trevor@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    4 months ago

    docker preinstalled

    This is actually perfect. My main issue with EL distros is that they tend to push podman, which is not a 1-to-1 replacement for docker. This may end up being my default for non-immutable OS installs.

    • barsquid@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      4 months ago

      I’m trying to learn Podman because Fedora atomic is the way I want to go right now, but getting firewalld to cooperate is enraging. Are you hitting problems other than that?

      • trevor@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 months ago

        Oddly enough: SELinux and file ownership for bind mounts were pretty hellish for me, even with :z. Granted, that’s definitely on me (skill issue) for having misconfigured SELinux policies, but docker got out of my way.

        Other than that, my gripes about podman have to do with inter-container DNS communication and having to creating systemd services to manage simple container stacks. That last one is a major thorn in my side because the podman CLI used to have a simple command to generate the systemd file for you, but they’re getting rid of it.

        I run containers locally for basic dev work and, on occasion, deploy simple self-hosted services. In both of those cases, I find Podman to be an unnecessary hindrance where Docker isn’t.

        • barsquid@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          4 months ago

          It’s foolish to remove a tool to generate systemd files, running containerized services is one of the main uses of tools like these. That is a big disappointment.

        • avisf@feddit.org
          link
          fedilink
          English
          arrow-up
          2
          ·
          4 months ago

          Oddly enough: SELinux and file ownership for bind mounts were pretty hellish for me, even with :z. Granted, that’s definitely on me (skill issue) for having misconfigured SELinux policies, but docker got out of my way.

          Yes, SELinux can be painful to troubleshoot. I assume the bind mount path may not have been labeled containerfile_t

          That last one is a major thorn in my side because the podman CLI used to have a simple command to generate the systemd file for you, but they’re getting rid of it.

          That command was indeed helpful. They replaced it with quadlets. Systemd quadlets were not that hard to configure as I initially thought though. I migrated my 10 services with their dependent containers, volumes and networks within a few hours or so. The manpage is well written and shows examples https://docs.podman.io/en/v4.6.1/markdown/podman-systemd.unit.5.html

          Of course there’s nothing wrong with using docker if it fits better

    • admin@discuss.online
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 months ago

      The question is what you are doing that need docker not podman? SELinux? Volume mounts? everything is docker capable, podman able to do it better (minus specific socket that podman.socket doesn’t support)

      • trevor@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        edit-2
        4 months ago

        Try deploying the Bitwarden self-hosted stack (official, not Vaultwarden) with Podman and then you’ll see that Podman’s inter-container DNS isn’t up-to-par with Docker’s.

        Podman is not a perfect replacement for Docker and often times gets in the way.

        • admin@discuss.online
          link
          fedilink
          English
          arrow-up
          1
          ·
          4 months ago

          I have one for my personal use, and I don’t see any problem with pasta tho? DNS is same with docker, and I use podman-compose, and has no problem with it.