4 ms·
Podman's been a great tool (on Linux) for a while, it's my daily driver. Rootless, no daemon and networking nonsense, and docker-compose can be replaced with re
by alibarber 5y ago
Podman's been a great tool (on Linux) for a while, it's my daily driver. Rootless, no daemon and networking nonsense, and docker-compose can be replaced with real K8s pod definitions for the most part. I'm actually really happy to see the zeal that has come to it from docker's changes - thank you docker ;)
- alias_neo 5y ago> docker-compose can be replaced with real K8s pod definitions for the most part Could you elaborate on this part? Are you running in Kubernetes or somehow using the pod definition format with Podman? I'd like a way to declaratively specify my Podman pods without docker-compose and friends.
- gizdan 5y agoPodman has built in support for K8s' Pod definitions. I've never used it so not sure how good (or bad) it is, but it is possible. It is also able to generate pod definitions from created containers, as well as generate systemd units that you can then enable allowing systemd to manage your pods/containers.
- alias_neo 5y agoIncredible, I didn't know any of this and I've been using Podman for ~1 year. Thanks, some reading for me to do, will be testing both those features out imminently!
- TobTobXX 5y agoThere's also podman-compose, which does exactly what docker-compose does, but with podman.
- gizdan 5y agopodman-compose is sadly not as good docker-compose. It simply converts compose yaml files into podman commands. As an alternative, as of podman v3 (rootfull) and v3.2 (rootless) podman has an optional podman socket you can enable. The API is docker compatible, thus allows for full docker-compose support, and will take any other application that interacts with the docker api directly.
- nicwolff 5y agoIs anyone successfully using podman with docker-compose in the "locally remote" style that Docker Desktop makes simple? E.g. running `podman machine start` on a Mac, then `docker-compose up` to start all the containers in the current dir's `docker-compose.yml`, with mounts from the host and a default network. I'm following https://github.com/containers/podman/issues/11389 https://github.com/containers/podman/issues/11389 and https://github.com/containers/podman/issues/11397 https://github.com/containers/podman/issues/11397