ducker icon indicating copy to clipboard operation
ducker copied to clipboard

support podman

Open pythops opened this issue 1 year ago • 6 comments

Would be great to add support for podman as well

pythops avatar Jun 27 '24 22:06 pythops

Definitely makes sense to add, but I'm not sure podman is daemonised in the same way docker is?

I know at the cli api level they're roughly API compatible, but I'm not sure if Bollard is inherently podman compatible

I'll definitely look into it once I've got a few more features on the docker side

robertpsoane avatar Jun 28 '24 16:06 robertpsoane

podman is indeed a daemonless which makes sense if you think about it, why do you need a daemon to run containers ? and it has an API that is accessible via unix socket https://docs.podman.io/en/latest/_static/api.html

pythops avatar Jul 05 '24 17:07 pythops

+1

Usually a podman installation comes with a socket service (either rootless or root) that was designed to replace dockerd socket. For 99% of all containers / docker-compose stuff you don't have any problems with it. I even added a docker context for it (running docker root/docker rootless/podman on my system). Preference goes to Podman but some devs still rely on docker root :(

https://docs.podman.io/en/v4.1.1/markdown/podman-system-service.1.html

Now you just need to add a pods view. And secrets.

blurayne avatar Jul 17 '24 19:07 blurayne

I will have a re-read of the docs My mis-understanding from a brief read about the podman socket service was that there were security implications of it Thanks for the corrections!

robertpsoane avatar Jul 21 '24 09:07 robertpsoane

+1

DarkAngelStrike avatar Dec 05 '24 16:12 DarkAngelStrike

Revisiting this, my understanding is that setting docker_path: unix:///var/run/podman/podman.sock in the config (~/.config/ducker/config.yaml) should be sufficient for it to work with podman?

robertpsoane avatar Mar 30 '25 11:03 robertpsoane

Closing as I believe it should currently support podman

robertpsoane avatar Sep 29 '25 20:09 robertpsoane