conmon: use runtime path from ocid
Signed-off-by: Antonio Murdaca <runcom@redhat.com>
This commit is contained in:
parent
2d8691cb0a
commit
4a4897bbfe
3 changed files with 67 additions and 31 deletions
|
@ -85,6 +85,7 @@ func (r *Runtime) CreateContainer(c *Container) error {
|
|||
defer parentPipe.Close()
|
||||
|
||||
args := []string{"-c", c.name}
|
||||
args = append(args, "-r", r.path)
|
||||
if c.terminal {
|
||||
args = append(args, "-t")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue