Merge pull request #2089 from anx-astocker/master

doc: First process in container needs `Init: true`
This commit is contained in:
Mrunal Patel
2019-08-05 10:40:54 -07:00
committed by GitHub
+1
View File
@@ -261,6 +261,7 @@ process := &libcontainer.Process{
Stdin: os.Stdin,
Stdout: os.Stdout,
Stderr: os.Stderr,
Init: true,
}
err := container.Run(process)