-
I'm having trouble trying to build the docker container for this project. I think it might be because I have special characters in my PIA password. What is the proper way to handle the special characters when using the docker run command? I tried escaping them with a backslash but no luck. Any help would be greatly appreciated. My run command is below (username and password redacted).
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Beta Was this translation helpful? Give feedback.
-
Thanks for the response @pkishino. I moved the credentials to a file in /config and set the env variable as described, but I'm still getting the following error: Current status: 125 (Interrupted) Maybe it's not the special characters in the password field? |
Beta Was this translation helpful? Give feedback.
-
Okay I figured it out. It was the spaces between the different PIA servers that kept throwing that error. On a side note: I switched my credentials to a file, but was getting a special character error using this example from your link: $ docker run --cap-add=NET_ADMIN -d for the credentials, I was able to solve it by removing the relative path "./openvpn-credentials.txt" and using the explicit path: "/your/storage/path/config/openvpn-credentials.txt". |
Beta Was this translation helpful? Give feedback.
Okay I figured it out. It was the spaces between the different PIA servers that kept throwing that error. On a side note: I switched my credentials to a file, but was getting a special character error using this example from your link:
$ docker run --cap-add=NET_ADMIN -d
-v /your/storage/path/:/data
-v ./openvpn-credentials.txt:/config/openvpn-credentials.txt
-e OPENVPN_PROVIDER=PIA
-e OPENVPN_CONFIG=france
-e OPENVPN_USERNAME=None
-e OPENVPN_PASSWORD=None
-e LOCAL_NETWORK=192.168.0.0/16
--log-driver json-file
--log-opt max-size=10m
-p 9091:9091
haugene/transmission-openvpn
for the credentials, I was able to solve it by removing the relative path "./openvpn-credentials.txt" and…