Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to name the wireguard-file? #3

Open
stempst0r opened this issue May 19, 2020 · 1 comment
Open

How to name the wireguard-file? #3

stempst0r opened this issue May 19, 2020 · 1 comment

Comments

@stempst0r
Copy link

First things first: Thx for the great work!

I have one (userrelated) problem:
Want to start the container with the "docker run" command. Here is my .sh-file:
docker run -it --rm --cap-add=NET_ADMIN \ --name wireguard-socks-proxy \ --volume /home/pirate/wireguard/:/etc/wireguard/:ro \ -p 1080:1080 \ kizzx2/wireguard-socks-proxy

Running the script with "sh wireguard.sh" it ends in the message:

standard_init_linux.go:211: exec user process caused "exec format error"

The .conf-file in "/home/pirate/wirguard" has a very cryptig name given by my VPN-provider. I think the problem is, that the container can't find the file. Is there a specific name for the file, or did i use the "--volume" command the wrong way?

@maxgillett
Copy link

I believe there shouldn't be a trailing forward slash for the local volume: "/home/pirate/wireguard"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants