diff options
Diffstat (limited to 'test/e2e/search_test.go')
-rw-r--r-- | test/e2e/search_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/search_test.go b/test/e2e/search_test.go index 61d581c6d..72b083de8 100644 --- a/test/e2e/search_test.go +++ b/test/e2e/search_test.go @@ -344,7 +344,7 @@ registries = ['{{.Host}}:{{.Port}}']` defer lock8.Unlock() podmanTest.RestoreArtifact(registry) - registryLocal := podmanTest.Podman([]string{"run", "-d", "-p", fmt.Sprintf("%s:5000", registryEndpoints[7].Port), + registryLocal := podmanTest.Podman([]string{"run", "-d", "--net=host", "-p", fmt.Sprintf("%s:5000", registryEndpoints[7].Port), "--name", "registry7", registry}) registryLocal.WaitWithDefaultTimeout() Expect(registryLocal.ExitCode()).To(Equal(0)) |