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

cannot bind to local control interface port 9993|unable to configure virtual network port: could not open TUN/TAP device: No such file or directory #22

Open
lozn00 opened this issue Apr 19, 2023 · 7 comments

Comments

@lozn00
Copy link

lozn00 commented Apr 19, 2023

openwrt docker run

stderr: zerotier-one: fatal error: cannot bind to local control interface port 9993
stderr: zerotier-one: fatal error: cannot bind to local control interface port 9993
stderr: zerotier-one: fatal error: cannot bind to local control interface port 9993
stderr: zerotier-one: fatal error: cannot bind to local control interface port 9993
stderr: zerotier-one: fatal error: cannot bind to local control interface port 9993
stderr: zerotier-one: fatal error: cannot bind to local control interface port 9993
stderr: zerotier-one: fatal error: cannot bind to local control interface port 9993
stderr: zerotier-one: fatal error: cannot bind to local control interface port 9993
@zyclonite
Copy link
Owner

can you give a bit more information on how you run the container and what your environment is like? (os version, docker version, run command...)

@lozn00
Copy link
Author

lozn00 commented Apr 19, 2023

Docker 版本 | 20.10.17

esir openwrt 2023 version
os download address https://drive.google.com/drive/folders/1dqNUrMf9n7i3y1aSh68U5Yf44WQ3KCuh

exec command
docker run --name zerotier-one --device=/dev/net/tun --net=host \ --cap-add=NET_ADMIN --cap-add=SYS_ADMIN \ -v /var/lib/zerotier-one:/var/lib/zerotier-one zyclonite/zerotier

@lozn00
Copy link
Author

lozn00 commented Apr 19, 2023

image

@lozn00
Copy link
Author

lozn00 commented Apr 19, 2023

image

@lozn00
Copy link
Author

lozn00 commented Apr 19, 2023

click (命令行|command) paste comand parse cli command auto fill input ,
image

@lozn00
Copy link
Author

lozn00 commented Apr 19, 2023

has soluve ,check all port

but throw

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

@lozn00 lozn00 changed the title cannot bind to local control interface port 9993 cannot bind to local control interface port 9993|unable to configure virtual network port: could not open TUN/TAP device: No such file or directory Apr 19, 2023
@zyclonite
Copy link
Owner

could it be that zerotier is already running? from your screenshot it shows one container running for 24min and the other failing... maybe try binding it to a different port using the env var ZT_PRIMARY_PORT

like: docker run --name zerotier-one --device=/dev/net/tun --net=host --cap-add=NET_ADMIN --cap-add=SYS_ADMIN -e ZT_PRIMARY_PORT=9994 -v /var/lib/zerotier-one:/var/lib/zerotier-one zyclonite/zerotier

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

2 participants