podman/pkg
Matthew Heon 2c7f97d5a7 Add ContainerStateExited and OCI delete() in cleanup()
To work better with Kata containers, we need to delete() from the
OCI runtime as a part of cleanup, to ensure resources aren't
retained longer than they need to be.

To enable this, we need to add a new state to containers,
ContainerStateExited. Containers transition from
ContainerStateStopped to ContainerStateExited via cleanupRuntime
which is invoked as part of cleanup(). A container in the Exited
state is identical to Stopped, except it has been removed from
the OCI runtime and thus will be handled differently when
initializing the container.

Signed-off-by: Matthew Heon <matthew.heon@gmail.com>
2018-10-02 12:05:22 -04:00
..
annotations Spell check strings and comments 2018-05-25 08:45:15 +00:00
apparmor pkg/apparmor: use a pipe instead of a tmp file 2018-08-14 14:25:14 +00:00
chrootuser changes to allow for darwin compilation 2018-06-29 20:44:09 +00:00
ctime ctime: Drop 32-/64-bit distinction on Linux 2018-07-07 20:35:00 +00:00
firewall Replace existing iptables handler with firewall code 2018-09-10 18:53:27 +00:00
hooks Change references to cri-o to point at new repository 2018-09-07 17:47:45 +00:00
inspect Reveal information about container capabilities 2018-08-24 12:16:19 +00:00
kubeutils Remove dependency on kubernetes 2018-03-27 21:55:33 +00:00
logs Add CRI logs parsing to podman logs 2018-09-05 13:48:20 +00:00
namespaces spec: refactor ns modes to a common interface 2018-09-21 10:13:39 +00:00
netns Fix godoc comment in pkg/netns 2018-07-27 02:48:16 +00:00
registrar Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
registries switch projectatomic to containers 2018-08-16 17:12:36 +00:00
rootless rootless: error out if there are not enough UIDs/GIDs available 2018-09-21 14:34:58 +00:00
secrets Swap default mount propagation from private to rprivate 2018-09-13 21:35:44 +00:00
spec rootless: raise an error when trying to use cgroups 2018-10-01 09:33:12 +02:00
util podman: provide a default UID mapping when non root 2018-06-15 14:53:18 +00:00
varlinkapi Add ContainerStateExited and OCI delete() in cleanup() 2018-10-02 12:05:22 -04:00