search

Home  >  Q&A  >  body text

php - Docker cannot be mounted to the hard disk under Win10 Home Edition

1. Because it is not the win10 professional version, I downloaded the dockertoolbox installation when downloading the win10 version of docker
2. I have set up the shared folder of the Oracle VM VirtualBox virtual machine

3. I double-clicked the Docker Quickstart Terminal to open the virtual machine

4. The inside of the virtual machine is like this, and then I ran docker run -p 82:80 -p 32000:22 -v /c/MyThings:/share/data -t -i centos:6.6 /bin /bash

5. However, the hard disk was not successfully mounted and the share/data directory was empty

PHP中文网PHP中文网2791 days ago800

reply all(1)I'll reply

  • 習慣沉默

    習慣沉默2017-05-19 10:09:51

    1. After modifying the sharing of the vm, you should use docker-machine restart default to restart

    2. As shown in the figure

    1.
    2.

    3. Use mount to view the mount

    4. When you run a container, the principle is to mount the default host

    reply
    0
  • Cancelreply