I’m having a hard time to move my docker compose files to podman and I can’t find any podman compose instructions. Does it work reliably for you?

11 points

Can you share anything specific? Maybe some error messages or the behavior you are seeing? Podman has been running my compose files without issue, but I’m also just running a few simple services in each.

permalink
report
reply
1 point

yes, I could but I could do it for many containers. Where would it fit best? in the github issues, discussions, here, reddit, fedora discussion forum, … I’m just not sure where it would fit

permalink
report
parent
reply
6 points

You started a thread here explicitly asking for docker compose files that work on podman, but implicitly you want files that don’t have your particular issues. What issue are you having? It could be that it’s a setup/config issue and not a compose problem. Podman is specifically compatible with rocker and its tools, where I’ve seen people just alias docker to podman on their systems and keep working.

I doubt that all of your containers are all having unique problems. So sharing one or two of the common blockers, and how you have tried to work around them, would help a lot in what kinds of compose files you are looking for.

For instance, can you run a compose that is just a single Redis container? Just share it here, help us help you.

permalink
report
parent
reply
10 points

My advise would be to not use podman-compose at all but rather switch to the now built in Quadlet container files that are used to auto-generate Systemd service files.

permalink
report
reply
2 points

Quadlet container

I’ll have a look into it, thx

permalink
report
parent
reply
6 points

I would advise first trying to run containers with docker rootless and adjust them as needed. Once you’ve managed to do that the switch to podman will be a lot easier. Trying to switch a container from regular docker directly to podman won’t work out very well.

permalink
report
reply
2 points

Hey there, for a very simple start there’s the compose.yaml file at the bottom of my comment here.

permalink
report
reply

Selfhosted

!selfhosted@lemmy.world

Create post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don’t control.

Rules:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

Community stats

  • 5K

    Monthly active users

  • 3.6K

    Posts

  • 81K

    Comments