Hi, I’m on macOS Sierra with a fresh Docker installation (17.03.1-ce-mac12) and I’m having trouble mounting volumes.
I took this simple example from the documentation:
ᕕ(ᐛ)ᕗ ~$ docker run -it -v ~/Desktop/:/Desktop r-base bash docker: Error response from daemon: Mounts denied: The path /users/username/Desktop/ is not shared from OS X and is not known to Docker. You can configure shared paths from Docker -> Preferences... -> File Sharing. See https://docs.docker.com/docker-for-mac/osxfs/#namespaces for more info. .. ¯\_(ツ)_/¯ ~$
The strange thing is, I haven’t changed anything under the
File Sharing settings; the
/Users directory is there.
I have noticed that with ‘/users’ and ‘/Users’ both point to the same thing, even thought I don’t see a symlink anywhere… I don’t know if this is new with macOS Sierra or not.
Also, my username on the mac,
BFay, is different than the home directory, which was somehow setup as
/users/username. Could that be an issue?