Merge pull request #14 from LK4D4/add_logging
Add logging and more info
This commit is contained in:
commit
f8ee26ffca
7 changed files with 41 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue