To join a network, simply supply it on the command-line; you can supply multiple networks.
docker run --name myzerotier --rm --cap-add NET_ADMIN --device /dev/net/tun lsposed/zerotier:latest abcdefdeadbeef00
Once joining all the networks you have provided, it will sleep until terminated. Note that in ZeroTier, joining a network does not necessarily mean you have an IP or can do anything, really. You will want to probe the control socket:
docker exec myzerotier zerotier-cli listnetworks
docker pull lsposed/zerotier:latest