Home  >  Q&A  >  body text

windows7如何与VirtualBox中安装的boot2docker共享文件夹

如下图所示,这是我默认安装boot2docker时系统默认设置的共享目录

boot2docker命令行中显示如下图:

当我自己设置共享目录时,如下图:

boot2docker命令行中显示如下图:

什么内容都没有,设置完之后,机器也重启过,但是还是不能访问。有没有人遇到类似的问题,求助。

巴扎黑巴扎黑2761 days ago854

reply all(5)I'll reply

  • 怪我咯

    怪我咯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

    reply
    0
  • 迷茫

    迷茫2017-04-21 11:18:53

    vm Good Dafa

    reply
    0
  • PHP中文网

    PHP中文网2017-04-21 11:18:53

    Is there no other solution?

    reply
    0
  • 天蓬老师

    天蓬老师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.

    reply
    0
  • 伊谢尔伦

    伊谢尔伦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

    reply
    0
  • Cancelreply