Docker Community Forums

Share and learn in the Docker community.

I have a question using option -v on boot2docker


(Seperon) #1

Hello, I write this for solving my prob.
I’d like to use docker on boot2docker.
Also I want to mount volume and there are problem.
I mounted volume using option ‘-v’ and loaded the path for using nginx or apache.
Until this, there ware no problem.
The problem is, I modified view(html) in mounted location and I refresh browser, It doesn’t applied.
In other words,
cat /path/index.html => changed
192.168.59.103:80 => no changed
This issue doesn’t appear on linux environment.
Anyone have solution for this problem?

info
os : mac osx 10.9.5
docker 1.3.2
boot2docker
image - centos:centos6
run cmd :
docker run -i -t -v $(pwd):/path -p p80:80 centos:centos6

container>
nginx 1.0.15
apache 2.2.1


(Sven Dowideit) #2

Heya, I think this is related to https://github.com/boot2docker/boot2docker/issues/652