Add logging for started supervisor
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
This commit is contained in:
@@ -135,6 +135,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
|
||||
|
||||
Reference in New Issue
Block a user