Add runc support

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby 2015-12-02 13:36:34 -08:00
parent 847e5bc7ee
commit a2ab27ad5b
2 changed files with 173 additions and 3 deletions

View file

@ -3,11 +3,10 @@
package containerd
import (
"errors"
"github.com/docker/containerd/runc"
"github.com/docker/containerd/runtime"
)
func newRuntime(stateDir string) (runtime.Runtime, error) {
return nil, errors.New("Unsupported runtime")
return runc.NewRuntime(stateDir)
}