From dd66c1d342f46036f97cf0c15ef5c9d06a572e85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20Trma=C4=8D?= Date: Wed, 20 Nov 2019 22:39:32 +0100 Subject: [PATCH] Run the test-system container without --net=host MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Experimentally, this seems to help with localhost access inside that container (but I have no idea what's the reason for that). Signed-off-by: Miloslav Trmač --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 91dca115..861278f9 100644 --- a/Makefile +++ b/Makefile @@ -153,7 +153,7 @@ test-integration: build-container # complicated set of options needed to run podman-in-podman test-system: build-container DTEMP=$(shell mktemp -d --tmpdir=/var/tmp podman-tmp.XXXXXX); \ - $(CONTAINER_CMD) --privileged --net=host \ + $(CONTAINER_CMD) --privileged \ -v $$DTEMP:/var/lib/containers:Z -v /run/systemd/journal/socket:/run/systemd/journal/socket \ "$(IMAGE)" \ bash -c 'BUILDTAGS="$(BUILDTAGS)" hack/make.sh test-system'; \