Skip to content

Commit

Permalink
Force runc runtime in docker
Browse files Browse the repository at this point in the history
The default runtime in upstream Clear will be set to the kata runtime,
which does not support host networking. This is needed for mixer, so we
must force --runtime=runc during all docker runs.

Signed-off-by: Tudor Marcu <[email protected]>
  • Loading branch information
tmarcu committed Aug 21, 2018
1 parent 5225ad0 commit 26fe8ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions builder/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ func (b *Builder) RunCommandInContainer(cmd []string) error {
dockerCmd := []string{
"docker",
"run",
"--runtime=runc",
"-i",
"--network=host",
"--rm",
Expand Down

0 comments on commit 26fe8ce

Please sign in to comment.