Docker Community Forums

Share and learn in the Docker community.

Docker-machine w/ vmware fusion - shared folder only updates once


(Richard Stovall) #1

Hi,

I’m using docker-machine version 0.3.0 (0a251fe) with VMWare Fusion 7.1.2. I’ve created a new vm using the recently released 1.7.0 boot2docker. The /Users folder on my Mac gets mounted as /Users in the boot2docker vm. I can fire up the nginx container and get to it in my browser.

However, there seems to be an odd bug where I can only save a file to the Shared folder once. The first time I save it I can refresh the browser and see the change - but any subsequent changes don’t seem to persist from the folder on my Mac to the vm.

I’d created the container using

docker run -d -p 80 --name website \-v $PWD/website:/var/www/html/website \pixelworlds/nginx nginx

Has anyone else experienced something similar and would anyone have an idea of what might be causing this?

Some additional information - I am using an almost identical setup as detailed here: http://elasticskies.com/docker-machine-on-osx-with-vmware-fusion/

Thanks in advance for your time and help


(Richard Stovall) #2

In case anyone is interested - I’ve been able to track this issue to a bug between Sublime Text and VMWare Fusion as detailed here: https://sublimetext.com/forum/viewtopic.php?f=3&p=59207


(Anothervenue) #3

I’m gonna bump this up because I’m having this issue as well and it’s killing off my productivity.

However, it’s in Sublime Text, Atom and Ruby Mine. Vim seems to be the only editor that saves it consistently.

Any help is always appreciated.