20
submitted 10 months ago by beta_tester@lemmy.ml to c/selfhosted@lemmy.world

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?

top 7 comments
sorted by: hot top controversial new old
[-] mindfive@lemm.ee 10 points 10 months ago

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.

[-] beta_tester@lemmy.ml 1 points 10 months ago

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

[-] mindfive@lemm.ee 6 points 10 months ago

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.

[-] poVoq@slrpnk.net 9 points 10 months ago

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.

[-] beta_tester@lemmy.ml 2 points 10 months ago

Quadlet container

I'll have a look into it, thx

[-] lemmyvore@feddit.nl 5 points 10 months ago

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.

[-] worldofgeese@lemmy.world 2 points 10 months ago

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

this post was submitted on 19 Nov 2023
20 points (85.7% liked)

Selfhosted

39251 readers
235 users here now

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!

founded 1 year ago
MODERATORS