php - Docker cannot be mounted to the hard disk under Win10 Home Edition
PHP中文网
PHP中文网 2017-05-19 10:07:51
0
1
697

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中文网

认证高级PHP讲师

reply all (1)
習慣沉默

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

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!