submitted 3 weeks ago* (last edited 3 weeks ago) by to c/linuxmemes@lemmy.world
 

EDIT: For some context, I recently gave podman another go. I have a few services on my homelab server set up in docker containers, so I tried migrating to podman.

After the second major bug (open issue on github) I encountered looked like it would require completely dropping using compose files to work around, I gave up and went back to docker.

I like the idea of podman, but it’s just not stable. I’ll try again in a year or so.

As a bonus, docker’s CLI is significantly nicer.

top 50 comments

sorted by: hot top controversial new old
[–] 185 points 3 weeks ago (53 children)

I choose Podman bc it's open source and that's kind of the reason for using everything as a container bc those are often also open source. Fuck docker

  • source
  • hideshow 53 child comments
  • [–] 70 points 3 weeks ago (12 children)

    It also can integrate with Systemd via Quadlets. Let's you control containers as a sytemd service. I personally use them for my home server and have been happy with it.

  • source
  • parent
  • hideshow 12 child comments
  • [–] 26 points 3 weeks ago* (11 children)

    The learning curve for quadlets is quite harsh in my opinion. I started with podman compose 3 years ago for my homelab, because it allowed user containers.

    I tried to migrate to quadlets unsuccessfully, several times over the years. it was only recently that my self-hosted Qwen was capable enough to figure out where I was messing up and automate the process a bit.

    I probably wasn’t sufficiently motivated. It felt like podman compose is basically docker compose, but quadlets are a quite a bit different in form and function, so I was never able to grok them:

  • source
  • parent
  • hideshow 11 child comments
  • [–] 18 points 3 weeks ago (3 children)

    Also, does Docker do rootless containers yet?

  • source
  • parent
  • hideshow 3 child comments
  • load more comments (19 replies)
    [–] 138 points 3 weeks ago (15 children)

    Why would you use docker when you could use podman?

  • source
  • hideshow 15 child comments
  • [–] 51 points 3 weeks ago (8 children)

    I use docker since it's what I learned on a decade ago, and my nas that I started from supports docker bit not podman in the 'app store'. I have three other machines running plain Debian, but I would want everything to work together, y'know? I've got a set-and-forget setup and I'd rather not break things without substantial benefit...

    Plus everybody is like 'it's the same thing, no learning curve' but then I start reading up on it and uhoh, learning curves :p

  • source
  • parent
  • hideshow 8 child comments
  • [–] 42 points 3 weeks ago (3 children)

    Plus everybody is like 'it's the same thing, no learning curve' but then I start reading up on it and uhoh, learning curves :p

    Exactly this. I tried podman, as a "container" newb, based on the idea that it's a (better) drop-in replacement for docker, but it didn't work. My quick attempts to resolve it went nowhere, and there were no instructions for the container I was trying to spin up for podman to explain the differences required.

    So, in frustration, I decided to try docker and it just worked.

    Good enough for me, for now. I still prefer the idea of not having a daemon running with root privileges, so I'll likely move over to podman eventually, but I only have so much time to waste tinkering with my setup. And if it ain't broke, don't fix it.

  • source
  • parent
  • hideshow 3 child comments
  • load more comments (3 replies)
  • load more comments (4 replies)
  • [–] 10 points 3 weeks ago (3 children)

    Why would you use podman when you could

    #!/bin/ksh
    
    daemon_execdir="/home/etebase/src"
    daemon_logfile="/var/log/etebase"
    daemon="/home/etebase/pyenv/bin/uvicorn"
    daemon_flags="etebase_server.asgi:application --host 159.100.247.89 --port 8000"
    daemon_user="_etebase"
    
    . /etc/rc.d/rc.subr
    
    rc_bg=YES
    rc_reload=NO
    
    pexp="/home/etebase/pyenv/bin/python3 ${daemon} ${daemon_flags}"
    
    rc_start() {
            rc_exec ". ~/.profile; ${daemon} ${daemon_flags} >> ${daemon_logfile} 2>&1"
    }
    
    rc_cmd $1
    
  • source
  • parent
  • hideshow 3 child comments
  • load more comments (3 replies)
  • load more comments (2 replies)
    [–] 110 points 3 weeks ago (27 children)
  • [–] 12 points 3 weeks ago (26 children)

    What's the benefit over Docker?

  • source
  • parent
  • hideshow 26 child comments
  • [–] 39 points 3 weeks ago (6 children)

    At work, avoiding surprise licensing fees. If you ever have over 250 employees or over 10 million revenue, you owe a subscription.

    At the home, easy orchestration with systemd

  • source
  • parent
  • hideshow 6 child comments
  • [–] 110 points 3 weeks ago

    Mom, i can i have podman?

    Mom: we have podman at home.

    Podman at home: rootless docker

  • source
  • [–] 73 points 3 weeks ago (2 children)

    I choose to use podman over docker because look at those cute seals πŸ₯°

  • source
  • hideshow 2 child comments
  • load more comments (2 replies)
    [–] 63 points 3 weeks ago (1 child)

    Docker became a license nest despite actual devs using k8s like a normal person should.

    Meanwhile podman gave us rootless containers, CDI, and quadlets which far outweighs whatever docker is limping to the barn with.

  • source
  • hideshow 1 child comment
  • [–] 11 points 3 weeks ago

    This! Podman rootless quadlets is so powerful and beautifully simple. Just look at that faaar superior security model and hos it doesnt even need a service to manage services because it just integrates natively with systemd I replaced my entire container layer from Rocker Swarm way back with K8s. Then it dawned on me I dont want the pods to move to another node by themselves anyway and then I just moved to Podman quadlets managed Ansible. Oh, and the podman pods are awesome as well.

  • source
  • parent
  • [–] 41 points 3 weeks ago (5 children)

    Podman is unironically the better choice. Just try to make docker comply with your firewall...

  • source
  • hideshow 5 child comments
  • load more comments (3 replies)
    [–] 31 points 3 weeks ago (6 children)

    This is why I don't like Docker compared to Podman:

  • source
  • hideshow 6 child comments
  • load more comments (2 replies)
    [–] 31 points 3 weeks ago (6 children)

    I'm curious why you feel this way? I'm kinda the opposite β€” podman has features I use that Docker doesn't.

  • source
  • hideshow 6 child comments
  • load more comments (6 replies)
    [–] 29 points 3 weeks ago (1 child)
    load more comments (1 reply)
    [–] 29 points 3 weeks ago

    I use Podman (at work) because license fees.

  • source
  • [–] 27 points 3 weeks ago

    Adding my voice: Podman is great

  • source
  • [–] 22 points 3 weeks ago* (3 children)

    i genuinely run all my shit bare metal

  • source
  • hideshow 3 child comments
  • load more comments (3 replies)
    [–] 22 points 3 weeks ago (6 children)

    Atleast Podman is faster + does not require a centralised daemon

  • source
  • hideshow 6 child comments
  • load more comments (6 replies)
    [–] 20 points 3 weeks ago (13 children)

    podman quadlets are next level

  • source
  • hideshow 13 child comments
  • load more comments (13 replies)
    [–] 17 points 3 weeks ago (2 children)

    Ngl after trying out Rootless Podman on my system (I was playing with Distrobox) I kinda wanna switch my whole Homelab to it, I'm just lazy, afraid the move to rootless with blow up everything and have zero fucking free time.

  • source
  • hideshow 2 child comments
  • [–] 16 points 3 weeks ago (1 child)

    I am running my entire homelab from podman quadlets (systemd managed podman containers) and it’s honestly very dope. Podman gets a bad rap for being second tier to docker but they legit have a bunch of awesome features for Linux users specifically that make it way nicer. Using systemd for docker status can add some misdirection occasionally, but having the logs from containers directly in journalctl alongside the rest of my system logs is amazing

  • source
  • parent
  • hideshow 1 child comment
  • load more comments (1 reply)
  • [–] 16 points 3 weeks ago (2 children)

    podman is great.

    Only gripe:

    ~ $ pomdan ps
    No command pomdan found, did you mean:
    ...
    

    I know, alias it, but man, I don't wanna.

  • source
  • hideshow 2 child comments
  • load more comments
    view more: next β€Ί