summaryrefslogtreecommitdiff
path: root/libpod/define/containerstate.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@pm.me>2020-05-13 09:17:36 -0400
committerMatthew Heon <matthew.heon@pm.me>2020-05-14 16:56:02 -0400
commit0c3bed119b16e90534172410f70713591ecafc4c (patch)
tree9c5657fb280a2644b24de7ac2fdc11e2704ad871 /libpod/define/containerstate.go
parent2b08359fafae5f551e7ce27ff797b0d2e3df2d2c (diff)
downloadpodman-0c3bed119b16e90534172410f70713591ecafc4c.tar.gz
podman-0c3bed119b16e90534172410f70713591ecafc4c.tar.bz2
podman-0c3bed119b16e90534172410f70713591ecafc4c.zip
Remove exec sessions on container restart
With APIv2, we cannot guarantee that exec sessions will be removed cleanly on exit (Docker does not include an API for removing exec sessions, instead using a timer-based reaper which we cannot easily replicate). This is part 1 of a 2-part approach to providing a solution to this. This ensures that exec sessions will be reaped, at the very least, on container restart, which takes care of any that were not properly removed during the run of a container. Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'libpod/define/containerstate.go')
0 files changed, 0 insertions, 0 deletions