Zerotier container - Unable to configure virtual network port

I want to access my home server (CasaOS on Rpi) using zero tier. I have installed the zerotier container on the casa. The docker compose file looked like this:

version: ‘3’
image: zyclonite/zerotier
container_name: zerotier-one
- /dev/net/tun
network_mode: host
- ‘/var/lib/zerotier-one:/var/lib/zerotier-one’

My zerotier network includes my Android phone, windows laptop and the home server with zt clients installed and I can see all the devices assigned managed ips from zero tier. However, I am unable to connect to the home server through its managed ip from any other device on the network. I can ping my phone from the laptop as well as laptop to phone using the managed ip addresses.

While checking the container logs I see the following

So I checked the container settings which are as follows:

Do I need to enter something in the container field? Could this the underlying reason why I am unable to connect to my home server and how should I fix that?

Thanks for your support!

That should likely be ‘/dev/net/tun’ for both the host and container.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.