diff --git a/feature/container/networking/tests/container_connectivity/cntr_test.go b/feature/container/networking/tests/container_connectivity/cntr_test.go index 04c71b9d2d6..0324ae30c48 100644 --- a/feature/container/networking/tests/container_connectivity/cntr_test.go +++ b/feature/container/networking/tests/container_connectivity/cntr_test.go @@ -74,6 +74,7 @@ func setupContainer(t *testing.T, dut *ondatra.DUTDevice) func() { TarPath: containerTarPath(t), Network: "host", PollForRunningState: true, + RemoveExistingImage: true, } _, cleanup := containerztest.Setup(ctx, t, dut, opts) return cleanup