Sharing Drive for Docker on Windows 10

I have installed Docker on Windows 10 Enterprise Edition and pulled the IDG (IBM Datapower Gateway) Image. While trying to run the IDG image using the command (docker run -it -v $PWD/config:/drouter/config -v $PWD/local:/drouter/local -e DATAPOWER_ACCEPT_LICENSE=true -e DATAPOWER_INTERACTIVE=true -p 9090:9090 -p 9022:22 -p 5554:5554 -p 8000-8010:8000-8010 --name idg1 ibmcom/datapower), I am getting following error:

C:\Program Files\Docker\Docker\Resources\bin\docker.exe: Error response from daemon: C: drive is not shared. Please share it in Docker for Windows strong textSettings.
See ‘C:\Program Files\Docker\Docker\Resources\bin\docker.exe run --help’.

I have tried to share the drive in Docker Settings --> Under the “Shared Drives” section.
However, the Docker is showing a message " updating drives " .Though, the docker is not able to share the drive .
Let me know how to proceed on this. Your help will be appreciated.

Thanks and Regards,
Amit

1 Like

Hey. Have you changed your windows login password? I have also seen update shared drives hang when I entered my new password incorrectly

1 Like