spiegel_podman/libpod/define
Paul Holzinger 0dae50f1d3
Do not store the exit command in container config
There is a problem with creating and storing the exit command when the
container was created. It only contains the options the container was
created with but NOT the options the container is started with. One
example would be a CNI network config. If I start a container once, then
change the cni config dir with `--cni-config-dir` ans start it a second
time it will start successfully. However the exit command still contains
the wrong `--cni-config-dir` because it was not updated.

To fix this we do not want to store the exit command at all. Instead we
create it every time the conmon process for the container is startet.
This guarantees us that the container cleanup process is startet with
the correct settings.

[NO NEW TESTS NEEDED]

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2021-11-18 20:28:03 +01:00
..
annotations.go add {generate,play} kube 2020-05-06 17:08:22 +02:00
checkpoint_restore.go Added optional container checkpointing statistics 2021-11-15 11:50:24 +00:00
config.go Support selinux options with bind mounts play/gen 2021-09-30 10:49:14 -05:00
container.go rename oneshot initcontainers to once 2021-08-12 12:57:15 -05:00
container_inspect.go Do not store the exit command in container config 2021-11-18 20:28:03 +01:00
containerstate.go Podman Stats additional features 2021-06-23 09:23:40 -04:00
diff.go podman diff accept two images or containers 2021-07-02 17:11:56 +02:00
errors.go Improve OCI Runtime error 2021-05-22 04:58:48 -04:00
exec_codes.go Revert "Exec: use ErrorConmonRead" 2020-03-09 09:50:40 -04:00
fileinfo.go Fixes from make codespell 2021-04-21 13:16:33 -04:00
healthchecks.go Fix remote integration for healthchecks 2020-05-20 14:43:01 -05:00
info.go Add network backend to podman info 2021-11-11 16:49:46 +01:00
mount.go separate file with mount consts in libpod/define 2021-03-07 12:01:04 +01:00
pod_inspect.go Pod Volumes From Support 2021-10-01 14:09:11 -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
terminal.go prune remotecommand dependency 2021-02-25 10:02:41 -06:00
version.go Use version package to track all versions 2021-03-03 17:03:19 -07:00
volume_inspect.go Initial implementation of volume plugins 2021-01-14 15:35:33 -05:00