Skip to content

Commit

Permalink
Merge pull request #2089 from anx-astocker/master
Browse files Browse the repository at this point in the history
doc: First process in container needs `Init: true`
  • Loading branch information
Mrunal Patel authored Aug 5, 2019
2 parents 80d35c7 + 808e809 commit 44f9ec1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libcontainer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ process := &libcontainer.Process{
Stdin: os.Stdin,
Stdout: os.Stdout,
Stderr: os.Stderr,
Init: true,
}

err := container.Run(process)
Expand Down

0 comments on commit 44f9ec1

Please sign in to comment.