Handle shim being sigkilled while containerd is down

Signed-off-by: Kenfe-Mickael Laventure <mickael.laventure@gmail.com>
This commit is contained in:
Kenfe-Mickael Laventure 2016-09-07 15:20:30 -07:00
parent b6b2fd623e
commit 3281909583
3 changed files with 122 additions and 2 deletions

View file

@ -44,6 +44,9 @@ const (
// InitProcessID holds the special ID used for the very first
// container's process
InitProcessID = "init"
// StartTimeFile holds the name of the file in which the process
// start time is saved
StartTimeFile = "starttime"
)
// Checkpoint holds information regarding a container checkpoint