Skip to content
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

unable to configure virtual network port: could not open TUN/TAP device: No such file or directory #1

Closed
sean--wang opened this issue Jun 25, 2019 · 2 comments

Comments

@sean--wang
Copy link

When i run docker logs zerotier-moon , I found error message like ' ERROR: unable to configure virtual network port: could not open TUN/TAP device: No such file or directory',could you give me a hand for it?
'

@MeowCold
Copy link

我也遇到相同的问题 233

@rwv
Copy link
Owner

rwv commented Apr 7, 2021

You need to run the container with the privileged flag or --cap-add=NET_ADMIN

You could see more methods at https://www.reddit.com/r/docker/comments/4cw758/accessing_tuntap_device_inside_of_a_docker/

@rwv rwv closed this as completed Apr 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants