Podman support - WIP #1256
Replies: 3 comments 4 replies
-
Thank you! I am super grateful for this. One thing I wonder about - there is docker or podman both on the "client side" (building and pushing the image) and on the "server side" (running the containers and the proxy). Could those be configurable separately so you can e.g. build using podman and deploy to docker or the other way around? |
Beta Was this translation helpful? Give feedback.
-
I used Podman with a setup that allows running Docker commands as usual. This way, I could use docker run ... or even docker compose up, etc., seamlessly with Podman. It would be great if Kamal could work this way too. |
Beta Was this translation helpful? Give feedback.
-
Just an update on this one: I figure this is going to be the easier way forward to allow people to start leveraging podman for their Kamal deployments as quickly as possible. I have just started porting over the work I did in my branch above, into this gem. |
Beta Was this translation helpful? Give feedback.
-
UPDATE: https://github.com/phoozle/kamal_podman (I've packaged this solution up as a standalone gem)
Howdy
Podman is a daemonless engine for managing OCI containers and out-of-the-box is arguably more secure than Docker. Being daemonless it also has advantages on the management / auditing front of containers.
Here is a great article explaining the differences to Docker - Podman vs Docker Comparison
Original feature request for Podman support
Check out my initial effort here:
https://github.com/phoozle/kamal/tree/podman
I am unsure how my approach would fit into the maintainer's vision for Kamal, but for the time being I am just going for a proof-of-concept. It will be interesting to explore further the features that can be leveraged with Podman, as well as its limitations compared to Docker.
It's very early days but I have successfully deployed one of my Rails apps with kamal using podman as the container manager!
I hope this serves as a starting point for further discussion around the integration of Podman in Kamal. I am hoping for some feedback from the maintainers on my approach and what the general Kamal community thinks about Podman.
Cheers
Beta Was this translation helpful? Give feedback.
All reactions