podman/pkg/specgen
Matthew Heon 6f1440a3ec Add support for the unless-stopped restart policy
We initially believed that implementing this required support for
restarting containers after reboot, but this is not the case.
The unless-stopped restart policy acts identically to the always
restart policy except in cases related to reboot (which we do not
support yet), but it does not require that support for us to
implement it.

Changes themselves are quite simple, we need a new restart policy
constant, we need to remove existing checks that block creation
of containers when unless-stopped was used, and we need to update
the manpages.

Fixes #6508

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
2020-06-17 11:16:12 -04:00
..
generate Add support for the unless-stopped restart policy 2020-06-17 11:16:12 -04:00
config_unsupported.go Fix the pkg/specgen/SpecGenerator.getSeccompConfig stub 2020-03-20 23:25:15 +01:00
container_validate.go Fixup issues found by golint 2020-06-10 05:49:41 -04:00
namespaces.go Start testing with cross compilation 2020-05-21 11:58:15 -04:00
pod_validate.go Fixup issues found by golint 2020-06-10 05:49:41 -04:00
podspecgen.go pod create: add `--infra-conmon-pidfile` 2020-06-11 11:01:13 +02:00
specgen.go podman: split env variables in env and overrides 2020-05-07 14:16:50 -04:00