Skip to content

Docker example usage

George edited this page Dec 8, 2020 · 5 revisions

Generate a config file for your host:

docker run meshname -genconf 217:b506:8d80:62a0:b9c5:289a:8b94:65e > /tmp/example.conf

Run meshnamed:

docker run -p [::1]:53535:53535/udp -v /tmp/example.conf:/meshnamed.conf meshname -allowremote -listenaddr [::]:53535 -useconffile /meshnamed.conf 

Note: Docker container must have IPv6 address from the Yggdrasil subnet to make lookups

cat << EOF | sudo tee /etc/docker/daemon.json
{
  "ipv6": true,
  "fixed-cidr-v6": "320:bfe2:bf50:3c25::/64"
}
EOF
Clone this wiki locally