Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Docker Network Drive EXTRA string=is not a valid Windows path

Tags:

docker

I have the following command to run my docker container:

docker run --privileged -d -v C:\Users\admin\Documents\config:/config -v \\QNAP-NAS\Media\P2P\done\:/downloads -e "VPN_ENABLED=yes" -e "LAN_NETWORK=192.168.86.0/24" -e "NAME_SERVERS=8.8.8.8,8.8.4.4" -p 8080:8080 -p 8999:8999 -p 8999:8999/udp qbittorrentvpn

Specifically:

-v \\QNAP-NAS\Media\P2P\done\:/downloads

However, when I run the command I receive the following error.

Error response from daemon: \\QNAP-NAS\Media\P2P\done\%!(EXTRA string=is not a valid Windows path).

What is the correct way to format my path?

Thanks

like image 926
Luke Prior Avatar asked Aug 02 '20 07:08

Luke Prior


1 Answers

I had a similar issue, I tried changing the path given to:

 -v //QNAP-NAS//Media//P2P//done//:/downloads
like image 157
DragonsCanDance Avatar answered Sep 16 '22 11:09

DragonsCanDance