Skip to main content

zerotier-controller

ztncui

docker run --rm -it -v $PWD/ztc:/host --entrypoint sh keynetworks/ztncui -c 'cp -r /opt/key-networks/ztncui/etc /host/ztncui'
docker run --rm -it -v $PWD/ztc:/host --entrypoint sh keynetworks/ztncui -c 'cp -r /var/lib/zerotier-one /host/data'

sudo chown 998:998 -R ztc/

# http://localhost:3000
# https://localhost:3443
# admin:password
docker run -d --restart=always \
-p 3000:3000 -p 3443:3443 \
--cap-add=NET_ADMIN \
-e HTTP_ALL_INTERFACES=yes \
-v $PWD/ztc/ztncui:/opt/key-networks/ztncui/etc/ \
-v $PWD/ztc/data:/var/lib/zerotier-one/ \
--name ztncui keynetworks/ztncui