diff --git a/test/infrastructure/container/docker.go b/test/infrastructure/container/docker.go index 28fff6d372cc..99b0101950f5 100644 --- a/test/infrastructure/container/docker.go +++ b/test/infrastructure/container/docker.go @@ -52,7 +52,6 @@ const ( btrfsStorage = "btrfs" zfsStorage = "zfs" - xfsStorage = "xfs" ) type dockerRuntime struct { @@ -446,15 +445,6 @@ func (d *dockerRuntime) RunContainer(ctx context.Context, runConfig *RunContaine } containerConfig.Env = envVars - // handle Docker on Btrfs or ZFS - // https://github.com/kubernetes-sigs/kind/issues/1416#issuecomment-606514724 - if d.mountDevMapper(info) { - runConfig.Mounts = append(runConfig.Mounts, Mount{ - Source: "/dev/mapper", - Target: "/dev/mapper", - }) - } - configureVolumes(runConfig, &containerConfig, &hostConfig) configurePortMappings(runConfig.PortMappings, &containerConfig, &hostConfig)