-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RTNETLINK answers: Operation not permitted / Cannot ioctl TUNSETIFF tun #1541
Comments
Note that you also have an error before the one you highlight.
Running with Some ideas off the top of my head:
|
@clement-z thanks for taking a look at it. Searching that, it looks like docker, in swarm mode, doesn't support cap_add at all? So I my question is whatever my docker in swarm mode is misconfigured to be used as stack as showed in the readme, or if we should update the readme with possible additional steps or completely remove the stack? |
You should be able to run docker-compose without swarm. That is what I do and I think a lot of people use that option. It's not deployed as a stack though. I think stack is a swarm-thing(?). I think I've seen in some other issue here that someone said cap_add was in an experimental version of Docker or something so it might be coming soon. Disclaimer. I've worked a lot with Docker, but not with stacks so I might be missing something here. |
@Sulter I am not familiar with swarm mode, but as @haugene mentioned, it seems it will be available in the next release (docker/cli#2687). However, if you run on a single host, I think |
Just to chime in on this issue, running docker on Debian x64 stable.
With cap_add in my compose-file, the capabilities don't seem to come across yet (Docker swarm):
However, I can manually set them on the service and validate with getpcaps. The VPN then comes up as expected:
This can then be confirmed (from the docker perspective):
At the time of writing, I'm using I may be doing something wrong - interested to hear if anyone has something working with swarm from docker 20.10.1 onwards. |
As a follow-up to my past comment, the issue doesn't occur with docker swarm in 20.10.1 providing the compose-file is deployed using |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Feel free to re-open this issue if you think it deserves another look. |
Describe the problem
The stack doesn't start due to the error in the title.
Please note that I already have the pi-hole in docker in swarm mode as well link, and that works just fine with the cap_add: net_admin. That's why I'm suspecting a possible bug with docker-transmission-openvpn, but this might also be a configuration error.
Add your docker run command
Logs
Host system:
odroidxu4, Armbian 20.08.17 Buster with Linux 5.4.72-odroidxu4
Docker version 19.03.13, build 4484c46
The text was updated successfully, but these errors were encountered: