spiegel_podman/cmd/podman/containers
Jan Rodák 7326b862e3
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

Signed-off-by: Jan Rodák <hony.com@seznam.cz>
2026-03-16 13:51:17 +01:00
..
attach.go Fix CLI help example indentation for multi-line examples 2026-03-06 21:06:04 +00:00
checkpoint.go Fix CLI help example indentation for multi-line examples 2026-03-06 21:06:04 +00:00
cleanup.go Fix CLI help example indentation for multi-line examples 2026-03-06 21:06:04 +00:00
clone.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
commit.go Fix CLI help example indentation for multi-line examples 2026-03-06 21:06:04 +00:00
container.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
cp.go Don't use append if not necessary 2026-02-11 11:41:10 -08:00
create.go Fix CLI help example indentation for multi-line examples 2026-03-06 21:06:04 +00:00
diff.go Fix CLI help example indentation for multi-line examples 2026-03-06 21:06:04 +00:00
exec.go Fix CLI help example indentation for multi-line examples 2026-03-06 21:06:04 +00:00
exists.go Fix CLI help example indentation for multi-line examples 2026-03-06 21:06:04 +00:00
export.go Fix CLI help example indentation for multi-line examples 2026-03-06 21:06:04 +00:00
init.go Fix CLI help example indentation for multi-line examples 2026-03-06 21:06:04 +00:00
inspect.go Fix CLI help example indentation for multi-line examples 2026-03-06 21:06:04 +00:00
kill.go Fix CLI help example indentation for multi-line examples 2026-03-06 21:06:04 +00:00
list.go Fix CLI help example indentation for multi-line examples 2026-03-06 21:06:04 +00:00
logs.go Fix CLI help example indentation for multi-line examples 2026-03-06 21:06:04 +00:00
mount.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
pause.go Fix CLI help example indentation for multi-line examples 2026-03-06 21:06:04 +00:00
port.go Fix CLI help example indentation for multi-line examples 2026-03-06 21:06:04 +00:00
prune.go enable gofumpt formatter 2025-11-11 12:32:46 +01:00
ps.go Fix CLI help example indentation for multi-line examples 2026-03-06 21:06:04 +00:00
ps_test.go Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
rename.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
restart.go Fix CLI help example indentation for multi-line examples 2026-03-06 21:06:04 +00:00
restore.go Fix CLI help example indentation for multi-line examples 2026-03-06 21:06:04 +00:00
rm.go Fix CLI help example indentation for multi-line examples 2026-03-06 21:06:04 +00:00
run.go Fix CLI help example indentation for multi-line examples 2026-03-06 21:06:04 +00:00
runlabel.go Fix CLI help example indentation for multi-line examples 2026-03-06 21:06:04 +00:00
start.go Fix CLI help example indentation for multi-line examples 2026-03-06 21:06:04 +00:00
stats.go Fix CLI help example indentation for multi-line examples 2026-03-06 21:06:04 +00:00
stop.go Fix unless-stopped containers not restarting after podman-restart.service stop them 2026-03-16 13:51:17 +01:00
top.go Bump Go version to v6 2025-10-23 11:00:15 -04:00
unmount.go Fix CLI help example indentation for multi-line examples 2026-03-06 21:06:04 +00:00
unpause.go Fix CLI help example indentation for multi-line examples 2026-03-06 21:06:04 +00:00
update.go Add ulimits to podman update API 2025-11-20 22:59:50 -08:00
wait.go Fix CLI help example indentation for multi-line examples 2026-03-06 21:06:04 +00:00