Skip to content

How to name the wireguard-file? #3

@stempst0r

Description

@stempst0r

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions