So in my setup I have all the config files in one place, so I tired to move them but now the client can't start saying:
Options error: In [CMD-LINE]:1: Error opening configuration file: /appdata/ovpn/client.ovpn
This is my compose file:
vpn:
container_name: vpn
image: ekristen/openvpn-client
stdin_open: true
tty: true
command: --config /appdata/ovpn/client.ovpn --askpass /appdata/ovpn/client.pwd --auth-nocache
cap_add:
Your trying to access a host path from the container. Your volume mount is right host:container but the command line should be referencing /vpn not ./appdata
So in my setup I have all the config files in one place, so I tired to move them but now the client can't start saying: Options error: In [CMD-LINE]:1: Error opening configuration file: /appdata/ovpn/client.ovpn
This is my compose file: vpn: container_name: vpn image: ekristen/openvpn-client stdin_open: true tty: true command: --config /appdata/ovpn/client.ovpn --askpass /appdata/ovpn/client.pwd --auth-nocache cap_add:
What am I doing wrong here?