Docker Community Forums

Share and learn in the Docker community.

Include /usr/local in accessible filesystem namespaces

(Joshua Jabbour) #1

The docs currently state:

You can share files in /Users, /Volumes, /private, and /tmp directly. For the Beta only, the rest of the user-accessible file system is mounted under /Mac.

It would be very helpful to include /usr in this list as well (or at least /usr/local). I’m trying to enable npm module development in a node container, in which case I’d add a volume like /Mac/usr/local/lib/node_modules/some-module:/usr/local/lib/node_modules/some-module. But when /Mac goes away, this won’t be possible any longer.