Merge pull request #14 from LK4D4/add_logging

Add logging and more info
This commit is contained in:
Michael Crosby 2015-12-08 11:38:13 -08:00
commit f8ee26ffca
7 changed files with 41 additions and 6 deletions

View file

@ -139,6 +139,10 @@ type runcRuntime struct {
stateDir string
}
func (r *runcRuntime) Type() string {
return "runc"
}
func (r *runcRuntime) Create(id, bundlePath string, stdio *runtime.Stdio) (runtime.Container, error) {
cmd := exec.Command("runc", "--root", r.stateDir, "--id", id, "start")
cmd.Dir = bundlePath