For uninteresting reasons, I need to run this Docker on a Windows machine. I installed Docker for Windows but I cannot seem to get my command line right. I’m using the default Linux containers and have my F drive mapped/shared.
docker run -d --cap-add=NET_ADMIN -p 8112:8112 -p 8118:8118 -p 58846:58846 -p 58946:58946 --name=DelugeVPN -v F:/Downloads/:/data -v F:/:/config -v F:/:/etc/localtime:ro -e VPN_ENABLED=yes -e VPN_USER=username -e VPN_PASS=password -e VPN_PROV=Other -e STRICT_PORT_FORWARD=yes -e ENABLE_PRIVOXY=yes -e LAN_NETWORK=192.168.0.1/24 -e NAME_SERVERS=22.214.171.124,126.96.36.199,188.8.131.52,184.108.40.206,220.127.116.11,18.104.22.168,22.214.171.124,126.96.36.199 -e DEBUG=false -e UMASK=000 -e PUID=0 -e PGID=0 binhex/arch-delugevpn
docker: Error response from daemon: OCI runtime create failed: container_linux.go:348: starting container process caused “process_linux.go:402: container init caused “rootfs_linux.go:58: mounting \”/host_mnt/f\” to rootfs \"/var/lib/docker/overlay2/c412cdfb224b3556ae9cb8bca0ef9d26d268188492c65e58c9988c39ca903ea9/merged\" at \"/var/lib/docker/overlay2/c412cdfb224b3556ae9cb8bca0ef9d26d268188492c65e58c9988c39ca903ea9/merged/usr/share/zoneinfo/UTC\" caused \“not a directory\”"": unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type.
So I am pretty sure its the drive mapping stuff thats bust. I can easily get it working in unRAID (Linux) but in Windows its hard!!
Binhex website says (https://github.com/binhex/arch-delugevpn):
-v <path for data files>:/data \ -v <path for config files>:/config \ -v /etc/localtime:/etc/localtime:ro \
I want my Downloads in F:\Downloads, my config files in WhoKnowsWhere?! and the Localtime Noidea!???
And I am somewhat at a loss to work out where I can insert the appropriate OVPN file… was easy on unRAID - /mnt/cache/DelugeVPN or whatever!! On windows who knows!!
Anyone able to help please?