Getting an error on start. Running container in Rancher. After some research it seems that openvpn needs to run with sudo to fix this.
I was able to fix it by running in privileged mode
@Dev-Time I checked that off, but it keeps on failing
Not familiar with Rancher. Still an issue or can we close this?
Did you change it in the image so that openvpn is started with sudo instead of the regular exec as root?
You may close this
Get Outlook for iOShttps://aka.ms/o0ukef
From: Kristian Haugene notifications@github.com
Sent: Thursday, January 10, 2019 2:48 PM
To: haugene/docker-transmission-openvpn
Cc: Simon Tsvilik; Author
Subject: Re: [haugene/docker-transmission-openvpn] Cannot ioctl TUNSETIFF tun: Operation not permitted (errno=1) (#488)
Not familiar with Rancher. Still an issue or can we close this?
Did you change it in the image so that openvpn is started with sudo instead of the regular exec as root?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/haugene/docker-transmission-openvpn/issues/488#issuecomment-453229612, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAIt0IyervZNV0l3_kpIwWC1z9MAj1Udks5vB5kZgaJpZM4TetlX.
For others having this issue, the documentation doesn't specify much about it, but failing to use --cap-add=NET_ADMIN in your run command (or omitting cap_add configuration in docker-compose file in my case) will yield this error message.
Most helpful comment
For others having this issue, the documentation doesn't specify much about it, but failing to use
--cap-add=NET_ADMINin your run command (or omittingcap_addconfiguration in docker-compose file in my case) will yield this error message.