Lurker News

Comments (200) 28 threads

Show all comments

Showing thread 8 of 28

gnulinux3 replies#
Last I checked podman's support of docker-compose.yml was very limited to say the least. Has it changed?
scheme271#
What parts did you find lacking? I haven't had any issues using podman-compose to launch stuff using unmodified docker-compose.yml files.
mfenniak1 reply#
There are two approaches to using compose w/ podman:

Replace docker-compose with podman-compose -- somewhat limited capabilities, but works in a lot of cases.
Use docker-compose against podman w/ podman's system service, which provides a docker compatible API endpoint (https://docs.podman.io/en/v5.2.1/markdown/podman-system-serv...). This basically has full docker-compose capabilities, but, you do need run the socket service as a specific user account which end up running all the pods.

3np#
I found the most stable to be a third option: 'podman compose' with docker-compose-v2 cli "backend" connecting to the actual podman socket. This will be done if you run 'podman compose' with 'docker-compose' in PATH, and DOCKER_HOST set to your podman socke, since 'podman compose' will just shim through to whichever command it finds available.

Both podman-compose (the Python project) and docker-compose-v1 have significant gaps in the compose spec.

EdwardDiego#
Yeah, I'm using it and it's nearly everything I need.
candiddevmike1 reply#
What does podman desktop offer that WSL does not (at least for those of us on Windows)?
eterm#
Ease of use, even used as a GUI for WSL, that doesn't mean it doesn't add value.