Docker + Weave dns not resolving on other host

I’m running docker and weave/weavedns, i’m having trouble connecting between the two hosts.

I’m running a container on host1, its pingable and the hostname resolves locally.

  • Running interactive commands in docker in Python subprocess
  • node.js docker image for all environments - including production
  • Unable to connect to MySQL in Docker from local host (Docker for Mac beta)
  • Docker runtime metrics in boot2docker
  • How to run a simple main method and copy the file it generated using docker
  • Build a Docker image remotely using Node.js
  • On host2, i can ping the container, but not resolve by its hostname. The weave logs indicate that the two hosts are definitely connected. The weavedns logs show ….

    INFO: 2015/02/25 10:06:19.544828 [dns msgid 31446] No results for type A query rabbitmq01.weave.local.
    DEBUG: 2015/02/25 10:06:19.545426 Query: {Name:rabbitmq01.weave.local. Qtype:1 Qclass:1}
    DEBUG: 2015/02/25 10:06:19.545593 [mdns msgid 45925] No local answer for mDNS query rabbitmq01.weave.local.

    … when I try to ping the hostname.

    I’ve double checked that there is no IP conflicts on the weave network and the hosts are on the same subnet

  • Docker in Development Environment
  • Issue with telefonica/orchestrator
  • How to install pgrep/pkill on debian wheezy docker image
  • Dockerfile “rm -Rf” fail
  • Is it “safe” to commit a running container in docker?
  • Why does Docker claim its container being portable?
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.