Add logging for started supervisor
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
This commit is contained in:
parent
d9e8fe62cb
commit
9f5caf529c
4 changed files with 13 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue