zerotier-docker
zerotier-docker copied to clipboard
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
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
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...)
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
click (命令行|command) paste comand parse cli command auto fill input ,
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
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