如下圖所示,這是我默認(rèn)安裝boot2docker
時(shí)系統(tǒng)默認(rèn)設(shè)置的共享目錄
在boot2docker
命令行中顯示如下圖:
當(dāng)我自己設(shè)置共享目錄時(shí),如下圖:
在boot2docker
命令行中顯示如下圖:
什么內(nèi)容都沒(méi)有,設(shè)置完之后,機(jī)器也重啟過(guò),但是還是不能訪問(wèn)。有沒(méi)有人遇到類似的問(wèn)題,求助。
These allocations are fixed and cannot be changed at will, so you can’t do that
Here are a few more:
Users is mounted to /Users
/Users mounts to /Users
c/Users mounts to /c/Users
/c/Users Mount to /c/Users
c:/Users Mount to /c/Users, see my blog article http://blog.csdn.net/jam_lee/article/details/40947429
If you have a Mac, there are other methods, but there is really no other method found for Windows.
In Windows, docker itself is a virtual machine, and the container is another layer of virtualization. So you need to mount it twice. I have a specific method here, but it is not perfect. http://www.v2ex.com/t/206102#reply1