walterl / proton-privoxy

Privoxy over ProtonVPN in Docker
MIT License
106 stars 25 forks source link

runsv proton-privoxy: fatal: unable to start ./run: file does not exist #31

Closed Puncia closed 1 year ago

Puncia commented 1 year ago

On Windows 11, I've followed the instructions, cloned the repo, then docker build -t walt3rl/proton-privoxy .

once built, I run docker run -d --device=/dev/net/tun --cap-add=NET_ADMIN -v /etc/localtime:/etc/localtime:ro -p 8888:8080 -e PVPN_USERNAME=<user> -e PVPN_PASSWORD=<password> -e PVPN_TIER=0 --name proton-privoxy walt3rl/proton-privoxy, populating the variables appropriately, but I'm getting runsv proton-privoxy: fatal: unable to start ./run: file does not exist in the console.

What's happening?

image

walterl commented 1 year ago

I don't have any experience with Docker on Windows, so unfortunately I can't be of much help.

100WarningsButWorks commented 1 year ago

Convert all line ending from CRLF to LF. Use dos2unix. Worked like a charm.

https://dos2unix.sourceforge.io/#DOS2UNIX

walterl commented 1 year ago

Thanks, @100WarningsButWorks.