With docker-compose, containers would start on boot. It was maybe because I had restart: always on.

Is there a way something similar with podman-compose?

I see mentions of creating custom systemd scripts to run podman-compose to start containers, but is there something already baked in podman-compose that I can use?

  • dudesss@lemmy.caOP
    link
    fedilink
    arrow-up
    2
    ·
    2 months ago

    This worked! I searched through so many threads trying to find an answer, and this was the answer. Thank you so much. I only needed the below text added to my ~/.config/containers/systemd/my-custom-quadlet.container. Nice and simple:

    [Install]
    WantedBy=default.target
    
    • Feyd
      link
      fedilink
      arrow-up
      2
      ·
      2 months ago

      Happy to help! Arch wiki is often a great resource even when using other distros