Docker-transmission-openvpn: Cannot ioctl TUNSETIFF tun: Operation not permitted (errno=1)

Created on 22 Apr 2018  Â·  5Comments  Â·  Source: haugene/docker-transmission-openvpn

Getting an error on start. Running container in Rancher. After some research it seems that openvpn needs to run with sudo to fix this.

Most helpful comment

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.

All 5 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

beneix picture beneix  Â·  3Comments

PriamX picture PriamX  Â·  3Comments

silentArtifact picture silentArtifact  Â·  3Comments

Esteidinger picture Esteidinger  Â·  3Comments

pejotll picture pejotll  Â·  4Comments