Solution to the problem that Docker cannot share the D drive: 1. Check the sharing status through the command line net share; 2. Enter the registry through services.msc; 3. Enable the corresponding service.
#The operating environment of this article: Windows 10 system, docker for windows version, Dell G3 computer.
What should I do if docker cannot share the d drive?
docker for windows cannot share the hard disk
Recently, the D drive could not be shared during a win10 installation of docker. Every time I click on share, the following appears:
After searching online, there is feedback that it is a firewall problem. Turning off the firewall still cannot improve it. Search Log
#Because I couldn’t determine what server service it was, I searched for some information on the Internet.
Finally found the command line net share to view the sharing situation. It prompts that the server service has not been started. Finally decided to look for server services. Find the following information
services.msc Enter the registry and enable these two services.
Achieve the following effects.
Finally realized the success of D drive sharing
Recommended learning: "docker tutorial"
The above is the detailed content of What should I do if docker cannot share the D drive?. For more information, please follow other related articles on the PHP Chinese website!