diff --git a/mount/mount_windows.go b/mount/mount_windows.go index 7e527c8df..e7d5a5113 100644 --- a/mount/mount_windows.go +++ b/mount/mount_windows.go @@ -49,13 +49,6 @@ func (m *Mount) ReadOnly() bool { // Mount to the provided target. func (m *Mount) mount(target string) (retErr error) { - if m.Type == "bind" { - if err := bindfilter.ApplyFileBinding(target, m.Source, m.ReadOnly()); err != nil { - return fmt.Errorf("failed to bind-mount to %s: %w", target, err) - } - return nil - } - if m.Type != "windows-layer" { return fmt.Errorf("invalid windows mount type: '%s'", m.Type) }