Created
October 3, 2017 11:26
-
-
Save janjaapbos/b67f97f2f32d7cf09c066fa5eaf50e89 to your computer and use it in GitHub Desktop.
docker compose for ZeroTier 6plane
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2.1' | |
# run with IPv6 network of the docker container as enviroment variable | |
# e.g. ZT6PLANE=fc7b:59ab:4811:901c:40ea docker-compose up | |
networks: | |
zerotier: | |
driver: bridge | |
enable_ipv6: true | |
internal: false | |
ipam: | |
config: | |
- subnet: ${ZT6PLANE}::/80 | |
volumes: | |
zerotier_var: | |
services: | |
zerotier: | |
image: zerotier/zerotier-containerized | |
devices: | |
- /dev/net/tun | |
network_mode: host | |
cap_add: | |
- NET_ADMIN | |
- SYS_ADMIN | |
volumes: | |
- zerotier_var:/var/lib/zerotier-one/ | |
# this only exists so that the networks get created | |
alpine: | |
image: bwstitt/alpine | |
command: tail -f /dev/null | |
# uncomment this once the zerotier container is running | |
networks: | |
zerotier: | |
ipv6_address: ${ZT6PLANE}::2 |
Looks like zerotier/zerotier-containerized
is gone :(
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Latest tcpdump output
And here is a successful traceroute for a different container on the same host: