oci: Pass the bundle and pid file paths to conmon

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
Samuel Ortiz 2016-11-14 17:52:58 +01:00
parent b14bae4869
commit 5bbef5fc88

View file

@ -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")
}