Update oci executor to use Opts
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
parent
23adfe42f9
commit
be20dd0484
4 changed files with 54 additions and 48 deletions
|
@ -30,9 +30,8 @@ func getContainerRootfs() containerkit.Mount {
|
|||
func runContainer() error {
|
||||
// create a new runc runtime that implements the ExecutionDriver interface
|
||||
driver, err := oci.New(oci.Opts{
|
||||
Root: "/run/runc",
|
||||
Name: "runc",
|
||||
LogFile: "/tmp/runc",
|
||||
Root: "/run/runc",
|
||||
Name: "runc",
|
||||
})
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue