E.g.ĭocker run -v /Users/geoidesic/Documents/projects/arc/mysite/djangocms_demo:/home/djangocms/djangocms/djangocms_demo -d -p 8001:8000 -name test_shared_volumes bluszcz/djangocms To be clear, the reason for asking this question is because I couldn't get the -v docker command to work. Ideally I'm trying to create a similar scenario to Vagrant's synched folders whereby I can edit files on my Host env, independently of the Docker Image but these are updated automatically to the Docker image on save.
So the question is – the Docker for Mac application provides File Sharing via Preferences -> File Sharing how does one make use of these shared folders from the docker image (for example if one ssh's into the docker image)? When I say how, I don't mean 'what are the use-cases', I mean 'please show me an example of how to access a shared folder from the command line of the running container'. It doesn't say anything about boot2docker, although some other questions along these lines talk about this: