summaryrefslogtreecommitdiff
path: root/libpod/oci_linux.go
diff options
context:
space:
mode:
authorPeter Hunt <pehunt@redhat.com>2019-05-20 13:58:31 -0400
committerPeter Hunt <pehunt@redhat.com>2019-05-28 11:10:57 -0400
commit51bdf29f0493827ce3eb278a193d0a7402add896 (patch)
tree685eb00a699d96bc0f5174ee7b9b7d51d6a851b9 /libpod/oci_linux.go
parent02f971131a3bb71615d15a45df808edd0fa88266 (diff)
downloadpodman-51bdf29f0493827ce3eb278a193d0a7402add896.tar.gz
podman-51bdf29f0493827ce3eb278a193d0a7402add896.tar.bz2
podman-51bdf29f0493827ce3eb278a193d0a7402add896.zip
Address comments
Signed-off-by: Peter Hunt <pehunt@redhat.com>
Diffstat (limited to 'libpod/oci_linux.go')
-rw-r--r--libpod/oci_linux.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/libpod/oci_linux.go b/libpod/oci_linux.go
index 5d66e6d82..7c1c18052 100644
--- a/libpod/oci_linux.go
+++ b/libpod/oci_linux.go
@@ -214,6 +214,7 @@ func (r *OCIRuntime) createOCIContainer(ctr *Container, cgroupParent string, res
}
args = append(args, "-c", ctr.ID())
args = append(args, "-u", ctr.ID())
+ args = append(args, "-n", ctr.Name())
args = append(args, "-r", r.path)
args = append(args, "-b", ctr.bundlePath())
args = append(args, "-p", filepath.Join(ctr.state.RunDir, "pidfile"))