Merge pull request #8789 from slonopotamus/macos-bind-mount
Add support for bind-mounts on Darwin (a.k.a. "make native snapshotter work")
This commit is contained in:
@@ -19,12 +19,13 @@
|
||||
package os
|
||||
|
||||
import (
|
||||
"github.com/containerd/containerd/errdefs"
|
||||
"github.com/containerd/containerd/mount"
|
||||
)
|
||||
|
||||
// Mount will call unix.Mount to mount the file.
|
||||
func (RealOS) Mount(source string, target string, fstype string, flags uintptr, data string) error {
|
||||
return mount.ErrNotImplementOnUnix
|
||||
return errdefs.ErrNotImplemented
|
||||
}
|
||||
|
||||
// Unmount will call Unmount to unmount the file.
|
||||
|
||||
Reference in New Issue
Block a user