zyclonite / zerotier-docker

ZeroTier One as Docker Image
MIT License
321 stars 84 forks source link

Docker cannot connect after restarting #28

Open SilverFox008 opened 11 months ago

SilverFox008 commented 11 months ago

The system QNAP can be added to the network when it was first created, but after restarting the nas, it cannot be connected. The Docker starts normally, and after checking, there are tun, route, network, and moon. It is unknown what caused this.

sudo -i

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