Rename runc to oci package

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby 2016-09-30 10:39:26 -07:00
parent 49710435b7
commit 06e42ec370
2 changed files with 19 additions and 13 deletions

View file

@ -8,8 +8,8 @@ import (
"github.com/Sirupsen/logrus"
"github.com/docker/containerkit"
"github.com/docker/containerkit/oci"
"github.com/docker/containerkit/osutils"
"github.com/docker/containerkit/runc"
specs "github.com/opencontainers/runtime-spec/specs-go"
)
@ -29,7 +29,7 @@ func getContainerRootfs() containerkit.Mount {
func runContainer() error {
// create a new runc runtime that implements the ExecutionDriver interface
driver, err := runc.New("/run/runc", "/tmp/runc")
driver, err := oci.New("/run/runc", "runc", "/tmp/runc")
if err != nil {
return err
}