This Quick guide will show you how to install Zero Tier One in a docker container on Hassio.

You will need your Zero Tier One network ID which can be found at https://my.zerotier.com and you will need to enable SSH on Hass.io via https://developers.home-assistant.io/docs/en/hassio_debugging.html or use the Portainer addon.

The folowing assumes that you have enabled SSH access to the Host.

SSH into Home Assistent and copy and paste the folowing into the terminal to install the Zero Tier One VPN Client.

docker run --device=/dev/net/tun \
    --net=host \
    --cap-add=NET_ADMIN \
     --cap-add=SYS_ADMIN \
    -v zerotier-one:/var/lib/zerotier-one \
    --name zerotier-one \
    -d bltavares/zerotierdocker run --device=/dev/net/tun \
    --net=host \
    --cap-add=NET_ADMIN \
     --cap-add=SYS_ADMIN \
    -v zerotier-one:/var/lib/zerotier-one \
    --name zerotier-one \
    -d bltavares/zerotier

Next you will need to tell the client to join your Zero Tier network.

docker exec -it zerotier-one zerotier-cli join <network-id>

Finaly approve and name the device on your network dashboard via https://my.zerotier.com.

You should now be able to access Home Assistent from the Zero Tier One IP address  from another device on the Zero Tier network.