Sign inSign up

palp/zerotier-one

By palp

Updated over 8 years ago

ZeroTier One alpine image

Image
0

301

palp/zerotier-one repository overview

This is just an Alpine base image with the zerotier-one package from edge/testing installed and a simple entrypoint script. It was built for automated deployment in a CoreOS Swarm cluster, but should work well for other scenarios.

The home directory (/var/lib/zerotier-one by default) should be mapped to a volume, or a new client address will be generated each time the container is created.

Supported environment variables:

ZEROTIER_NETWORKS A comma separated list of networks to join on startup.

ZEROTIER_HOME Change the home directory used to persist data. This allows a subdirectory on a shared volume to be used, when available. This value will automatically be passed to zerotier-cli when running via docker exec.

Usage example: docker run -d --restart always --name zerotier-one --device=/dev/net/tun --net=host
--cap-add=NET_ADMIN --cap-add=SYS_ADMIN -e ZEROTIER_HOME=/zerotier/$HOSTNAME
-e ZEROTIER_NETWORKS=network1,network2 -v zerotier:/zerotier palp/zerotier-one

Tag summary

Content type

Image

Digest

Size

2.8 MB

Last updated

over 8 years ago

docker pull palp/zerotier-one