diff --git a/daemon/bindmount_unix.go b/daemon/bindmount_unix.go deleted file mode 100644 index 028e300b06..0000000000 --- a/daemon/bindmount_unix.go +++ /dev/null @@ -1,5 +0,0 @@ -// +build linux freebsd - -package daemon // import "github.com/docker/docker/daemon" - -const bindMountType = "bind" diff --git a/daemon/volumes_unix.go b/daemon/volumes_unix.go index 5b47c46616..13e0a90194 100644 --- a/daemon/volumes_unix.go +++ b/daemon/volumes_unix.go @@ -142,7 +142,7 @@ func (daemon *Daemon) mountVolumes(container *container.Container) error { writeMode = "rw" } opts := strings.Join([]string{bindMode, writeMode}, ",") - if err := mount.Mount(m.Source, dest, bindMountType, opts); err != nil { + if err := mount.Mount(m.Source, dest, "", opts); err != nil { return err }