News for hackers. Stuff that matters.
Re:Transitioning from Docker to Podman by gigatexal on Friday November 20, 2020 @04:50PM (#25165487)
Any docker Podman corner cases that people have run into? I like the idea of rootless containers but I can do that ether easily by adding one line to my dockerfile or adding a user flag when I run a docker container. What other advantages am I getting?
Re:Transitioning from Docker to Podman by tick_tock_tick on Friday November 20, 2020 @04:58PM (#25165546)
This isn't about root inside the container but rather it doesn't need root on the host system.
Re:Transitioning from Docker to Podman by piaste on Friday November 20, 2020 @05:45PM (#25165984)
Not sure if you count it as a corner case, but podman lacks a docker-compose equivalent - last I checked, a few months ago, there was only a community port project that still needed a lot of work.
Re:Transitioning from Docker to Podman by choeger on Friday November 20, 2020 @05:40PM (#25165934)
Not really corner cases, but compatibility from rootless podman to docker ends where privileges are needed, e.g., in the case of networking.
Re:Transitioning from Docker to Podman by pydry on Friday November 20, 2020 @05:17PM (#25165749)
No need to run a daemon. Security is better.
Re:Transitioning from Docker to Podman by educar on Friday November 20, 2020 @08:27PM (#25167140)
If you lock down the docker user, is it a problem?
Re:Transitioning from Docker to Podman by soraminazuki on Friday November 20, 2020 @10:39PM (#25167710)
The biggest issue lies not in the few lines in /etc/passwd or /etc/group, but rather the highly privileged process with a large attack surface that is the Docker daemon.
Re:Transitioning from Docker to Podman by fisxoj on Friday November 20, 2020 @05:24PM (#25165808)
Generally, it's been pretty easy to transition for me, but I used to rely on things like the automatic nginx image that you need to mount the docker socket into so it can route traffic to containers when they come up. Since there's no daemon, there wasn't a way to do that. I think people are working on it, but I haven't tried recently.

Work also uses a special docker RUN command that can use the host's ssh keyring to, eg. Install something from a private github repo. Doesn't seem to exist in podman.

Re:Transitioning from Docker to Podman by freedomben on Friday November 20, 2020 @05:49PM (#25166016)
I use that nginx image too, and it's the one thing that keeps me using docker for some small single-node setups. For basically everything else, Podman is a better experience. Now that I've discovered Podman can run K8s Pods (and now Deployments) I use it all the time. I don't know how I lived without it!
Re:Transitioning from Docker to Podman by yjftsjthsd-h on Friday November 20, 2020 @06:00PM (#25166142)
> Podman can run K8s Pods (and now Deployments)

That is amazing; thanks for pointing it out:)