Update oci executor to use Opts

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby 2016-10-03 15:20:45 -07:00
parent 23adfe42f9
commit be20dd0484
4 changed files with 54 additions and 48 deletions

View file

@ -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