I would love to hear everyone’s opinion.

  • Molecular0079@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    8 months ago

    I use podman with the podman-docker compatibility layer and native docker-compose. Podman + podman-docker is a drop-in replacement for actual docker. You can run all the regular docker commands and it will work. If you run it as rootful, it behaves in exactly the same way. Docker-compose will work right on top of it.

    I prefer this over native Docker because I get the best of both worlds. All the tutorials and guides for Docker work just fine, but at the same time I can explore Podman’s rootless containers. Plus I enjoy it’s integration with Cockpit.

  • poVoq@slrpnk.net
    link
    fedilink
    English
    arrow-up
    1
    ·
    8 months ago

    Podman is significantly better if you want to leverage the Systemd integration it has out of the box.

    But if you just want to run existing docker-compose scripts then Docker is easier.

  • Dandroid@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    8 months ago

    I like podman because rootless and daemonless are built-in and default. Yes, it can be done on docker, but you have to do a bunch of shit to get it set up.

    You could create the alias alias docker="podman" and 99% of the time, you won’t even be able to tell the difference since podman is a docker drop in replacement. All the docker documentation applies to podman as well. But since docker runs as root by default, some edge cases might not work out of the box (like binding to a port on the host less than 1000).

    Podman comes with some neat tools like being able to create systemd service files to start and stop containers as services.

    To use docker-compose, you’ll need some additional packages. That’s probably the biggest drawback to podman imo. Podman wants to use pods instead of docker-compose, but I think they gotta take their heads out of their asses and just support the more popular format on that one. Not to mention docker-compose is just plain better imo. Easier to define, easier to understand, easier to modify. The list goes on and on.

    • sudneo@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      8 months ago

      Because the lxc way is inherently different from the docker/podman way. It’s aimed at running full systems, rather than mono process containers. It has it’s use cases, but they are not as common IMHO.

      • genie@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        arrow-down
        1
        ·
        8 months ago

        Real men use Incus NixOS containers for reproducible builds instead of wimpy dockerfiles 😤😤

        /s – for real though, I hope someday you finally remove the stick from where the sun doesn’t shine ;)

        • sudneo@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          8 months ago

          Did it sound cold? Because I didn’t mean that, I just meant to actually answer the question from my PoV. Just for the record, I also did not down vote you.

          So yeah, use whatever footgun you prefer, I don’t judge :)