This repository has been archived by the owner on Sep 26, 2021. It is now read-only.
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.
Closed
Description
When docker-machine
using vmwarefusion
driver, it can appear an error like this:
fuse: mountpoint is not empty
fuse: if you are sure this is safe, use the 'nonempty' mount option
I think this error will make the command sudo /usr/local/bin/vmhgfs-fuse -o allow_other xxxx
result non-zero
code:
command := "[ ! -d " + shareDir + " ]&& sudo mkdir " + shareDir + "; sudo mount --bind /mnt/hgfs/" + shareDir + " " + shareDir + " || [ -f /usr/local/bin/vmhgfs-fuse ]&& sudo /usr/local/bin/vmhgfs-fuse -o allow_other .host:/" + shareName + " " + shareDir + " || sudo mount -t vmhgfs -o uid=$(id -u),gid=$(id -g) .host:/" + shareName + " " + shareDir
Metadata
Assignees
Labels
No labels
Activity