I have problem mounting local directory and get File sharing has been cancelled
.
Have had checked lots of forums and still have no clue how to fix it.
OS : windows enterprice version 1909
docker cli version : 19.03.8
docker-compse version : 1.25.5
I was going to serve php website using nginx web server.
Advertisement
Answer
My problem is solved! by setting up correct file sharing directory
First of all, I have no idea whether downloading the edge version of docker could impact on it. But When I tried setting up right directory for file sharing in docker’s setting it worked.
As my project was store at : D:ProjectsDockertest
I needed to set file sharing permission on docker’s setting to access drive D:
Steps :
- Open Docker setting
- Click on Resources Item
- Click on file sharing tab
- browse the directory you are working on
- Restart docker windows