Docker Community Forums

Share and learn in the Docker community.

File sharing / problem


(Llitfkitfk) #1


(David Sheets) #2

Hello,

In order to give you access to Linux system paths like /proc, /sys, /var/run/docker.sock, and /etc, the paths exported from OS X are merged with the paths already existing in Linux. Because of this design, each OS X path exported must not conflict with a Linux path. You can read more about the -v bind mount model at https://docs.docker.com/docker-for-mac/osxfs/#namespaces.

I recommend exporting a more specific path than /. If you can’t do this or it isn’t reasonable for your use case, I’d be very interested in understanding what you’re trying to do.

Thanks for participating in the Docker for Mac Beta!

Best regards,

David