From 26fe8cec9313f5daa6b339276aef019b5a1f9053 Mon Sep 17 00:00:00 2001 From: Tudor Marcu Date: Tue, 21 Aug 2018 02:01:54 -0700 Subject: [PATCH] Force runc runtime in docker 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 --- builder/docker.go | 1 + 1 file changed, 1 insertion(+) diff --git a/builder/docker.go b/builder/docker.go index 96847d80e..2e4208cde 100644 --- a/builder/docker.go +++ b/builder/docker.go @@ -188,6 +188,7 @@ func (b *Builder) RunCommandInContainer(cmd []string) error { dockerCmd := []string{ "docker", "run", + "--runtime=runc", "-i", "--network=host", "--rm",