mirror of https://github.com/containers/podman.git
Merge pull request #2290 from giuseppe/cleanup-use-correct-runtime
cleanup: use the correct runtime
This commit is contained in:
commit
e39a7dc6ac
|
@ -331,6 +331,9 @@ func (c *CreateConfig) createExitCommand() []string {
|
|||
"--cgroup-manager", config.CgroupManager,
|
||||
"--tmpdir", config.TmpDir,
|
||||
}
|
||||
if config.OCIRuntime != "" {
|
||||
command = append(command, []string{"--runtime", config.OCIRuntime}...)
|
||||
}
|
||||
if config.StorageConfig.GraphDriverName != "" {
|
||||
command = append(command, []string{"--storage-driver", config.StorageConfig.GraphDriverName}...)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue