You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are two ways to manage restart=always in podman. The first way is as you mentioned, by creating a systemd service for each container. The other way is the method I just mentioned, which uses a single systemd service to manage all containers with restart=always.
Maybe we need a minimal init to take over our service just like systemd !
Yes
BTW, In theory we can take over the WSL2 init and make our init run as PID 1, but it's a bit of a hack, I'll try it.
Please No! Hacking methods are always our last resort; their priority is always the lowest, and they will only be considered when there are no other ways to solve the problem.
Please investigate other solutions.
When a container is started with
restart=always
, it will not automatically start if the system or WSL is rebooted.The text was updated successfully, but these errors were encountered: