如下图所示,这是我默认安装boot2docker
时系统默认设置的共享目录
在boot2docker
命令行中显示如下图:
当我自己设置共享目录时,如下图:
在boot2docker
命令行中显示如下图:
什么内容都没有,设置完之后,机器也重启过,但是还是不能访问。有没有人遇到类似的问题,求助。
怪我咯2017-04-21 11:18:53
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
天蓬老师2017-04-21 11:18:53
If you have a Mac, there are other methods, but there is really no other method found for Windows.
伊谢尔伦2017-04-21 11:18:53
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