In order to give you access to Linux system paths like
/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!