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?

  • mindfive@lemm.ee
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 year 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.

    • Display Name@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      1
      ·
      1 year 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
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year 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
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    1 year 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.

  • lemmyvore@feddit.nl
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    1 year 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.