
jonnyan404/zerotier-moon项目地址: [***] 已支持多架构: amd64/arm64/armv7
A docker image to create ZeroTier moon in one setp. Update docker source to the latest version of zerotier
--cap-add=NET_ADMIN --cap-add=SYS_ADMIN --device=/dev/net/tun after docker rundocker pull jonnyan404/zerotier-moon
docker run --name zerotier-moon -d --restart always -p 9993:9993/udp jonnyan404/zerotier-moon -4 1.2.3.4
Replace 1.2.3.4 with your moon's IP.
To show your moon id, run
docker logs zerotier-moon
Notice: When creating a new container, a new moon id will be generated. To persist the identity when creating a new container, see Mount ZeroTier conf folder below.
docker exec zerotier-moon zerotier-cli
docker run --name zerotier-moon -d --restart always -p 9993:9993 -p 9993:9993/udp -v ~/somewhere:/var/lib/zerotier-one jonnyan404/zerotier-moon -4 1.2.3.4 -6 2001:abcd:abcd::1
This will mount ~/somewhere to /var/lib/zerotier-one inside the container, allowing your ZeroTier moon to presist the same moon id. If you don't do this, when you start a new container, a new moon id will be generated.
docker run --name zerotier-moon -d -p 9993:9993/udp jonnyan404/zerotier-moon -4 1.2.3.4 -6 2001:abcd:abcd::1
Replace 1.2.3.4, 2001:abcd:abcd::1 with your moon's IP. You can remove -4 option in pure IPv6 environment.
docker run --name zerotier-moon -d -p 9994:9993/udp jonnyan404/zerotier-moon -4 1.2.3.4 -p 9994
Replace 9994 with your own custom port for ZeroTier moon.




manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务