podman/libpod/define
Urvashi Mohnani edbeee5238 Add --restart flag to pod create
Add --restart flag to pod create to allow users to set the
restart policy for the pod, which applies to all the containers
in the pod. This reuses the restart policy already there for
containers and has the same restart policy options.
Add "never" to the restart policy options to match k8s syntax.
It is a synonym for "no" and does the exact same thing where the
containers are not restarted once exited.
Only the containers that have exited will be restarted based on the
restart policy, running containers will not be restarted when an exited
container is restarted in the same pod (same as is done in k8s).

Signed-off-by: Urvashi Mohnani <umohnani@redhat.com>
2023-05-02 10:29:58 -04:00
..
annotations.go Support running nested SELinux container separation 2023-03-13 14:21:12 -04:00
autoupdate.go auto-update: validate container image 2022-09-26 17:07:05 +02:00
checkpoint_restore.go Added optional container checkpointing statistics 2021-11-15 11:50:24 +00:00
config.go Compile regex on demand not in init 2023-01-11 14:38:51 -05:00
container.go Support Deployment generation with kube generate 2023-03-31 13:34:38 -04:00
container_inspect.go docs: add `starting` to `HealthCheckResults.Status` 2023-04-02 02:02:11 -04:00
containerstate.go bump golangci-lint to v1.50.1 2022-12-15 13:39:56 +01:00
diff.go podman diff accept two images or containers 2021-07-02 17:11:56 +02:00
errors.go Fix #15499 already connected network 2022-08-27 20:03:40 -05:00
exec_codes.go Run codespell 2022-08-25 16:32:31 -04:00
fileinfo.go Fixes from make codespell 2021-04-21 13:16:33 -04:00
healthchecks.go Add support for startup healthchecks 2022-11-28 13:30:29 -05:00
info.go swagger: fix Info name conflict 2023-04-27 14:44:18 +02:00
mount.go libpod/define: Make TypeBind a platform-specific constant 2022-08-30 16:32:24 +01:00
mount_freebsd.go libpod/define: Make TypeBind a platform-specific constant 2022-08-30 16:32:24 +01:00
mount_linux.go libpod/define: Make TypeBind a platform-specific constant 2022-08-30 16:32:24 +01:00
mount_unsupported.go libpod/define: Make TypeBind a platform-specific constant 2022-08-30 16:32:24 +01:00
pod_inspect.go Add --restart flag to pod create 2023-05-02 10:29:58 -04:00
podstate.go Add a Degraded state to pods 2020-10-21 13:31:40 -04:00
runtime.go Add support for containers.conf 2020-03-27 14:36:03 -04:00
sdnotify.go kube play: sd-notify integration 2022-08-10 21:12:39 +02:00
version.go Add 'Os' to be queried via 'version' output 2022-03-29 18:10:59 -04:00
volume_inspect.go Add support for 'image' volume driver 2022-09-22 13:07:40 -04:00