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
    1
    ·
    1 month ago

    I implemented these, but my containers are not starting on system boot. I even set restart: always

    • hosaka@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      1 month ago

      Might be obvious but did you enable the Quadlets? So systemctl enable quadlet.service or whatever the equivalent is. I think the quadlet is just a regular systemd unit.

      Edit: I noticed you already got an answer!

      • dudesss@lemmy.caOP
        link
        fedilink
        arrow-up
        1
        ·
        1 month ago

        No need to enable, it won’t work nor do anything. Do need to systemctl --user daemon-reload