Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error response from daemon: Drive has not been shared

Tags:

docker

In Windows 10, trying to mount an external volume in docker

docker run --rm -v d:/data:/data alpine ls /data

gives this error

Error response from daemon: Drive has not been shared.

like image 855
fiat Avatar asked Jun 27 '19 19:06

fiat


1 Answers

Ensure you have shared the drive in settings

enter image description here

PS c:\>docker --version
Docker version 18.09.2, build 6247962
like image 112
fiat Avatar answered Oct 14 '22 05:10

fiat