docker-openvpn: The file '/etc/openvpn/vars' was not found
Looks like kylemanna/openvpn:latest is broken. Also kylemanna/openvpn:2.3 works fine.
$ docker run -v $OVPN_DATA:/etc/openvpn --log-driver=none --rm -it kylemanna/openvpn ovpn_initpki
Easy-RSA error:
The file '/etc/openvpn/vars' was not found.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 25
- Comments: 20 (7 by maintainers)
Commits related to this issue
- easy-rsa: Drop all mention of the vars file * This exists to import/export a number of easy-rsa default values but creates headaches for old volumes due to changes where easy-rsa insists on loadi... — committed to kylemanna/docker-openvpn by deleted user 4 years ago
- easy-rsa: Drop all mention of the vars file * This exists to import/export a number of easy-rsa default values but creates headaches for old volumes due to changes where easy-rsa insists on loadi... — committed to kylemanna/docker-openvpn by deleted user 4 years ago
- easy-rsa: Drop all mention of the vars file * This exists to import/export a number of easy-rsa default values but creates headaches for old volumes due to changes where easy-rsa insists on loadi... — committed to chris42/docker-openvpn by deleted user 4 years ago
Workaround here https://github.com/kylemanna/docker-openvpn/issues/605#issuecomment-694836874
using 2.3 works
for the dummies like me
@kylemanna hi, i’ve been using the 2.4 tag from dockerhub for months now without any problem. I see now that you overwrote the 2.4 tag on dockerhub just 14 days ago. Are you aware of the problem described in this thread?
@RafayAK #621 should fix this for you, can you try re-pulling and confirm? I think we can call this closed!
@RafayAK thanks for sharing, now I understand what’s going wrong.
Can you build the dev image and test it?
Then run the same command replacing
kylemanna/openpvn:2.4withopenvpn-testand share your result. Once I hear this works I can merge the dev branch and close this issue for good.The issue is about kylemanna/openvpn:latest