0

On MacOS X, I've mounted an encrypted sparse image with my project working files to /Volumes/MyProject. I'd now like to share this path with docker containers, so I've tried to share /Volumes with the Docker VM in VirtualBox but it does not show up inside the VM.

What am I doing wrong?enter image description here

The /Users directory shows up correctly, but that's mounted by default so I am sure I am just missing an important step.

alsdkjasdlkja
  • 1,260
  • 2
  • 14
  • 30
  • You also need to run a command inside the docker-machine. See this answer http://stackoverflow.com/questions/30040708/how-to-mount-local-volumes-in-docker-machine/32030385#32030385 – Xiongbing Jin Mar 11 '16 at 16:43
  • The message at the bottom is telling you an invalid setting has been detected - what does clicking the little yellow triangle tell you? Also, I would think twice about mounting your own images in `/Volumes` - I tend to leave OSX to mess around mounting and unmounting stuff in there - maybe try, temporarily, mounting your image elsewhere. – Mark Setchell Mar 11 '16 at 16:45
  • @MarkSetchell The warning is that I have configured less than 9MB graphic memory. I'll try to mount it elsewhere and report back into the comments – alsdkjasdlkja Mar 11 '16 at 18:13
  • @warmoverflow Thanks I'll have a look. – alsdkjasdlkja Mar 11 '16 at 18:13
  • @warmoverflow Thanks, that worked. I'll get a burrito now – alsdkjasdlkja Mar 11 '16 at 18:27

0 Answers0