From 5bbef5fc8831f8b9a6b0c9f9f73f2f0db70b1b64 Mon Sep 17 00:00:00 2001 From: Samuel Ortiz Date: Mon, 14 Nov 2016 17:52:58 +0100 Subject: [PATCH] oci: Pass the bundle and pid file paths to conmon Signed-off-by: Samuel Ortiz --- oci/oci.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/oci/oci.go b/oci/oci.go index 0ce2fa36..abfa558b 100644 --- a/oci/oci.go +++ b/oci/oci.go @@ -102,6 +102,8 @@ func (r *Runtime) CreateContainer(c *Container) error { args := []string{"-c", c.name} args = append(args, "-r", r.path) + args = append(args, "-b", c.bundlePath) + args = append(args, "-p", filepath.Join(c.bundlePath, "pidfile")) if c.terminal { args = append(args, "-t") }