rwv / docker-zerotier-moon

🐳 A docker image to create ZeroTier moon in one step.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

sean--wang opened this issue · comments

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?
'

我也遇到相同的问题 233

commented

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/