←back to thread

1101 points codesmash | 5 comments | | HN request time: 0.427s | source
1. vbezhenar ◴[] No.45138093[source]
I did numerous attempts to switch from docker to podman. Latest one worked, and so far I didn't feel the need to get back to docker. There was only one issue that I had: huge uid didn't work in podman (like 1000000 I think), but I fixed the dockerfile and rest worked fine for me. podman-compose does not work well in my experience, but I don't use it anymore.
replies(3): >>45138215 #>>45139697 #>>45141851 #
2. osigurdson ◴[] No.45138215[source]
Instead of using compose, you can create Kubernetes like yamls and run with podman play kube.

Of course if you have really large / complex compose files or just don't feel like learning something else / aren't using k8s, stick with docker.

3. r_lee ◴[] No.45139697[source]
have you tried nerdctl? its basically just the containerd cli which is close to k8s and etc. not a for profit thing, just following containerd spec
4. wyoung2 ◴[] No.45141851[source]
> huge uid didn't work in podman (like 1000000 I think)

You're running into the `/etc/sub[ug]id` defaults. The old default was to start your normal user at 100000 + 64k additional sub-IDs per user, but that changed recently when people at megacorps with hundreds of thousands of employees defined in LDAP and similar ran into ID conflict. Sub-IDs now start at 2^19 on RHEL10 for this reason.

replies(1): >>45143142 #
5. ◴[] No.45143142[source]