Join zerotier network auto with Docker, I like ZT so much!
This is a very tiny(3 MB) docker image to join zerotier without auth on web. So, with this, you can scale up your docker and even any machine cluster programmly.
Find detail here: https://hub.docker.com/r/trawor/zerotier
NW_ID env is set, join itNW_TOKEN env is set, auth this peer with ZT apiIFTTT env is set, send it a message with peer id and assigned IPdocker run -d --device=/dev/net/tun --net=host --cap-add=NET_ADMIN --cap-add=SYS_ADMIN -v /var/lib/zerotier-one:/var/lib/zerotier-one trawor/zerotierps: if you don't like to buzz the docker host, remove --net=host
pps: mount /var/lib/zerotier-one to keep the data or you will have always a new join
NW_ID : the network id you created, listed https://my.zerotier.com/networkNW_TOKEN : 'API Access Tokens' in https://my.zerotier.comIFTTT : IFTTT trigger URL, looks like: https://maker.ifttt.com/trigger/xxxxxxxxxx/with/key/ST-xxxxxxxxxxxxxContent type
Image
Digest
Size
2.9 MB
Last updated
over 7 years ago
docker pull trawor/zerotier