spiegel_podman/pkg/domain
Jan Rodák fcc6ae217c [v5.8] Fix unless-stopped containers not restarting after ...
`podman-restart.service` stop them

When `podman-restart.service` stops containers, it marks them as "stopped by
user" which breaks the `unless-stopped` restart policy. Add hidden
`--not-stopped-by-user` flag to prevent this, allowing `unless-stopped`
containers to restart on next boot.

Fixes: https://github.com/containers/podman/issues/28152
Fixes: https://issues.redhat.com/browse/RUN-4357

Cherry pick fixes: https://redhat.atlassian.net/browse/RHEL-157746, https://redhat.atlassian.net/browse/RHEL-157747

Signed-off-by: Jan Rodák <hony.com@seznam.cz>
(cherry picked from commit 7326b862e3)
Signed-off-by: Tom Sweeney <tsweeney@redhat.com>
2026-03-19 19:40:30 -04:00
..
entities [v5.8] Fix unless-stopped containers not restarting after ... 2026-03-19 19:40:30 -04:00
filters Fix unless-stopped restart policy to match Docker behavior 2026-02-06 15:36:47 -05:00
infra [v5.8] Fix unless-stopped containers not restarting after ... 2026-03-19 19:40:30 -04:00
utils run modernize -fix ./... 2025-09-10 16:17:04 +02:00