Docker Community Forums

Share and learn in the Docker community.

Binhex/arch-delugevpn on Windows (hassles!)


(Methanoid) #1

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=209.222.18.222,37.235.1.174,1.1.1.1,8.8.8.8,209.222.18.218,37.235.1.177,1.0.0.1,8.8.4.4 -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?