DockerNS exposes Docker container services to your local network’s DNS using the Bonjour (mDNS/ZeroConf) protocol. This means you can resolve a Docker container’s name to its local IP address automatically, making service discovery seamless on your LAN.
- Automatic DNS publishing: When a container starts, its name and IP are published via Bonjour/mDNS.
- Easy service discovery: Access containers using container_name.local from any device on the same network.
- No manual DNS setup: Works out-of-the-box with Avahi (Linux) or Bonjour (macOS).
DockerNS listens for Docker container events. When a container starts, DockerNS inspects its network settings. The container’s name and IP address are published to the local network using the Bonjour protocol. Any device supporting mDNS/Bonjour can resolve container_name.local to the container’s IP.