oci: Pass the bundle and pid file paths to conmon
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
This commit is contained in:
parent
b14bae4869
commit
5bbef5fc88
1 changed files with 2 additions and 0 deletions
|
@ -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")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue