Sign inSign up

yaurora/zerotier-one

By yaurora

•Updated almost 5 years ago

zerotier-one image for arm64

Image
0

98

yaurora/zerotier-one repository overview

A zerotier-one docker image for arm64, built from latest zerotier-one release and based on ubuntu latest lts image. Also you can easily build images also for other CPU archs from example below.

⁠Usage

⁠Dockerfile example:

FROM ubuntu:latest as stage
RUN apt-get update -qq && apt-get install curl gnupg -y 
RUN curl -s https://install.zerotier.com | bash
COPY entrypoint.sh.release /entrypoint.sh
RUN chmod 755 /entrypoint.sh
CMD /entrypoint.sh

then build with:

docker build -f Dockerfile -t zerotier-one .

⁠docker-compose exaple:

version: '3'
services:
  zerotier:
    image: yaurora/zerotier-one:arm64
    container_name: zerotier
    network_mode: host
    cap_add:
      - NET_ADMIN
      - SYS_ADMIN
    volumes:
      - /container_data/zerotier-one/config:/var/lib/zerotier-one
    devices:
      - /dev/net/tun:/dev/net/tun
    restart: always

Once container is up, join your own network with:

docker exec zerotier-one zerotier-cli join 00000021c000001

or create an empty config file with network name:

/var/lib/zerotier-one/networks.d/00000021c000001.conf

Tag summary

Content type

Image

Digest

Size

56.7 MB

Last updated

almost 5 years ago

docker pull yaurora/zerotier-one:arm64