Public Repository

Last pushed: 3 months ago
Short Description
Multicast DNS support for easier hostname access using docker-machine/boot2docker
Full Description

It can be frustrating to spin up a Virtualbox VM with docker-machine and then if you want to interact with your services, you have to either

  • A) manually forward ports, or
  • B) look up the machine's IP

Instead, use Avahi to resolve local DNS so you can access services running in your docker-machine VM at my-machine-name.local.

It's required that the host have Bonjour (pre-installed on all Macs) or some other mDNS client installed.

In docker-compose, include the layer with:

version: '2'
services:
    avahi:
        image: enernoclabs/avahi:latest
        network_mode: "host"
Docker Pull Command
Owner
enernoclabs