diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2018-12-12 06:57:44 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-12 06:57:44 -0800 |
commit | b7729cf3eb504680c98ee7703b4b22f00023ce91 (patch) | |
tree | f82b6d2880976f11e76b893f529dca5f1f8c4ca0 /libpod | |
parent | 8a3361f46c87933aff04c9acaaf48b7c130bc9d8 (diff) | |
parent | 64ac54625924e226611d53497a941affaddb0a23 (diff) | |
download | podman-b7729cf3eb504680c98ee7703b4b22f00023ce91.tar.gz podman-b7729cf3eb504680c98ee7703b4b22f00023ce91.tar.bz2 podman-b7729cf3eb504680c98ee7703b4b22f00023ce91.zip |
Merge pull request #1962 from rhatdan/criu
Set Socket label for contianer
Diffstat (limited to 'libpod')
-rw-r--r-- | libpod/oci.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libpod/oci.go b/libpod/oci.go index 3222f9403..093bfdd35 100644 --- a/libpod/oci.go +++ b/libpod/oci.go @@ -861,6 +861,7 @@ func (r *OCIRuntime) execStopContainer(ctr *Container, timeout uint) error { // checkpointContainer checkpoints the given container func (r *OCIRuntime) checkpointContainer(ctr *Container, options ContainerCheckpointOptions) error { + label.SetSocketLabel(ctr.ProcessLabel()) // imagePath is used by CRIU to store the actual checkpoint files imagePath := ctr.CheckpointPath() // workPath will be used to store dump.log and stats-dump |