My container for zerotier
Go to file
2016-07-25 17:06:25 +02:00
files first ver 2016-07-25 17:06:25 +02:00
Dockerfile first ver 2016-07-25 17:06:25 +02:00
README.md first ver 2016-07-25 17:06:25 +02:00

Zerotier

Build

docker build -t my/zerotier .

Run

You have to load tun module on docker host.

modprobe tun

... and you can start ZeroTier container with this command.

docker run -tid --name=zerotier --net=host --privileged my/zerotier /opt/start.sh

Usage

Create and Connect to network

  1. You have to register ZeroTier service on https://my.zerotier.com page.
  2. You have to create a network on the zerotier's page (You got a Network ID like: 565799d8f6bba354 )
  3. You have to join with the ZeroTier node
docker exec -ti zerotier zerotier-cli join 565799d8f6bba354