this post was submitted on 05 Jan 2026
5 points (100.0% liked)

Podman

175 readers
3 users here now

founded 2 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] dudesss@lemmy.ca 1 points 18 hours ago (1 children)

Any idea how I can get Quadlet to start on system boot?

[–] Feyd@programming.dev 2 points 17 hours ago (1 children)
[–] dudesss@lemmy.ca 1 points 13 hours ago* (last edited 13 hours ago) (1 children)

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@programming.dev 2 points 13 hours ago

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