News for hackers. Stuff that matters.
Re:Docker is dead? Podman – an alternative tool? by stingraycharles on Saturday June 04, 2022 @03:28AM (#31617917)
There’s podman-compose which does what you want, but is a community maintained script.

There’s also the ability for podman to run as a system service, and provide an OCI compatible container API. This then integrates seamlessly with the actual docker-compose.

See: https://www.redhat.com/sysadmin/podman-docker-compose

Re:Docker is dead? Podman – an alternative tool? by znpy on Saturday June 04, 2022 @03:31AM (#31617931)
You can point the official docker-compose at podman now!

I do that!

It's 99.999% compatible as the podman people basicaly reimplemented all the docker daemon APIs.

It sometimes lags a bit behind, because sometime docker implements new stuff... But for usage with docker-compose it has worked flawlessly for me.

EDIT: you can also export the podman unix socket via socat, i also tried it to run a rootless docker runtime in kubernetes (podman daemon running as a pod, to run docker builds in kubernetes) as an experiment. It works but i'd love to see a better integration with Gitlab runner project.

Gitlab is supposedly getting podman support any time soon, in 15.1 IIRC ?

Re:Docker is dead? Podman – an alternative tool? by lolcat_cowsay on Saturday June 04, 2022 @12:05PM (#31621990)
I tried podman compose quite a few months ago with my docker compose file and it failed, what is the difference between doing that and this?

So like, you can use docker compose for podman instead of docker, instead of something like podman compose?

Re:Docker is dead? Podman – an alternative tool? by znpy on Saturday June 04, 2022 @06:51PM (#31625899)
The difference is that instead of using podman-compose you use the actual docker-compose.

You have to point your $DOCKER_HOST to the podman unix socket or something, but other than that it’s the actual docker-compose experience. Via the env var trick you could even use the actual docker binary. But you could just alias docker to podman and it works the same, by design!

Re:Docker is dead? Podman – an alternative tool? by sureglymop on Saturday June 04, 2022 @08:41AM (#31619629)
Wow that sounds amazing! Thanks for the information.