Files
podman/docs/source/markdown
Jan Rodák 4d3c6311a5 Fix unless-stopped restart policy to match Docker behavior
- Update documentation: Differentiate `unless-stopped` from `always` - containers stopped by the user before a reboot will not restart.
- Add `should-start-on-boot` filter: Identify containers that require a restart after a system reboot.
- Update command documentation: Add `restart-policy` and `label!` filters to the documentation for container commands (rm, ps, start, stop, pause, unpause, restart).
- Add `restart-policy` and `shoud-start-on-boot` to completions.
- Update service: Update `podman-restart.service` to use the `needs-restart=true` filter.
- Preserve state: Preserve the `StoppedByUser` state across reboots.
- Update API: Add a `ShouldStartOnBoot()` method to the Container API.
- Update documentation: Add descriptions for the `should-start-on-boot` filter.

Fixes: https://issues.redhat.com/browse/RHEL-129405
Fixes: https://github.com/containers/podman/issues/20418

Signed-off-by: Jan Rodák <hony.com@seznam.cz>
2025-12-02 15:40:46 +01:00
..
2025-08-07 07:28:06 +02:00
2025-08-15 23:14:24 +05:30
2025-06-13 04:47:22 -04:00
2024-04-04 09:28:21 -04:00
2025-08-15 23:14:24 +05:30
2025-10-29 07:59:34 -05:00
2025-08-15 23:14:24 +05:30
2025-11-12 15:15:34 -05:00
2025-08-15 23:14:24 +05:30
2025-11-22 01:17:47 +01:00
2025-08-06 22:34:18 +03:00