this post was submitted on 13 Nov 2023
1 points (100.0% liked)

Homelab

371 readers
3 users here now

Rules

founded 1 year ago
MODERATORS
 

I'm tinkering on a Portainer setup on coreos using Podman as the baclend.

So far it's been going ok but now I have an issue.

Docker starts containers after boot but Podman doesnt.

Portainer doesn't seem to handle that either and after a reboot non of my containers are running.

Usuallt you fix that by creating systemd services for the containers but then I have to duplicate all that.

Anyone knows a way to get them started without using systemd?

Or maybe I have to figue out a way that one unit starts all the containers...

you are viewing a single comment's thread
view the rest of the comments
[–] LeCyntho@alien.top 1 points 1 year ago

Do the same as the podman-restart.service systemd unit:

podman start --all --filter restart-policy=always to start all containers with the "always" restart-policy