diff --git a/integration/container/daemon_linux_test.go b/integration/container/daemon_linux_test.go index d1d6c61a9df5d6c95677d668bc791713a6a6541c..b67dece2c9b2c8e63149cd2c9c3f6816c1206d06 100644 --- a/integration/container/daemon_linux_test.go +++ b/integration/container/daemon_linux_test.go @@ -140,7 +140,7 @@ func TestDaemonHostGatewayIP(t *testing.T) { // Verify the IP in /etc/hosts is same as host-gateway-ip d := daemon.New(t) // Verify the IP in /etc/hosts is same as the default bridge's IP - d.StartWithBusybox(t) + d.StartWithBusybox(t, "--iptables=false") c := d.NewClientT(t) ctx := context.Background() cID := container.Run(ctx, t, c, @@ -157,7 +157,7 @@ func TestDaemonHostGatewayIP(t *testing.T) { d.Stop(t) // Verify the IP in /etc/hosts is same as host-gateway-ip - d.StartWithBusybox(t, "--host-gateway-ip=6.7.8.9") + d.StartWithBusybox(t, "--iptables=false", "--host-gateway-ip=6.7.8.9") cID = container.Run(ctx, t, c, container.WithExtraHost("host.docker.internal:host-gateway"), ) @@ -208,7 +208,7 @@ func TestRestartDaemonWithRestartingContainer(t *testing.T) { c.HasBeenStartedBefore = true }) - d.Start(t) + d.Start(t, "--iptables=false") ctxTimeout, cancel := context.WithTimeout(ctx, 30*time.Second) defer cancel() @@ -256,7 +256,7 @@ func TestHardRestartWhenContainerIsRunning(t *testing.T) { }) } - d.Start(t) + d.Start(t, "--iptables=false") t.Run("RestartPolicy=none", func(t *testing.T) { ctx, cancel := context.WithTimeout(ctx, 5*time.Second) diff --git a/integration/container/daemon_test.go b/integration/container/daemon_test.go index 94468a440914f410e0a664db7764a282d2ee5460..a0a66b72471de10e337f9eff678c3ccb1b71d19c 100644 --- a/integration/container/daemon_test.go +++ b/integration/container/daemon_test.go @@ -43,7 +43,7 @@ func TestContainerKillOnDaemonStart(t *testing.T) { assert.Assert(t, inspect.State.Running) assert.NilError(t, d.Kill()) - d.Start(t) + d.Start(t, "--iptables=false") inspect, err = client.ContainerInspect(ctx, id) assert.Check(t, is.Nil(err)) diff --git a/integration/image/import_test.go b/integration/image/import_test.go index 1535a2e3800882bdbcf22ddb14a6aded749eafac..76c1d44dc1c5556c5e3b47c8c21f659e9c1a2b03 100644 --- a/integration/image/import_test.go +++ b/integration/image/import_test.go @@ -27,7 +27,7 @@ func TestImportExtremelyLargeImageWorks(t *testing.T) { // Spin up a new daemon, so that we can run this test in parallel (it's a slow test) d := daemon.New(t) - d.Start(t) + d.Start(t, "--iptables=false") defer d.Stop(t) client := d.NewClientT(t)