Support the new --empty-ns flags in RunC for checkpoint/restore.
Signed-off-by: Ross Boucher <rboucher@gmail.com>
This commit is contained in:
parent
8040df4e89
commit
a135e1093d
7 changed files with 188 additions and 162 deletions
|
@ -57,6 +57,8 @@ type Checkpoint struct {
|
|||
Shell bool `json:"shell"`
|
||||
// Exit exits the container after the checkpoint is finished
|
||||
Exit bool `json:"exit"`
|
||||
// EmptyNS tells CRIU to omit a specified namespace
|
||||
EmptyNS []string `json:"emptyNS,omitempty"`
|
||||
}
|
||||
|
||||
// PlatformProcessState container platform-specific fields in the ProcessState structure
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue