podman/pkg/varlinkapi
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
..
config.go switch projectatomic to containers 2018-08-16 17:12:36 +00:00
containers.go Refactor Wait() to not require a timeout 2018-09-21 20:07:51 +00:00
containers_create.go Don't mount /dev/shm if the user told you --ipc=none 2018-09-21 19:06:12 +00:00
images.go Vendor in latest containers/buildah 2018-09-18 17:20:30 -04:00
pods.go Add ContainerStateExited and OCI delete() in cleanup() 2018-10-02 12:05:22 -04:00
system.go Add buildah version and distribution to info 2018-09-28 10:48:16 -05:00
util.go Added helper function for libpod pod api calls 2018-08-16 20:31:50 +00:00