mdns-repeater in the Docker container.
mdns-repeater is a Multicast DNS (mDNS) repeater for Linux.
This program is an application level gateway which re-broadcasts mDNS packets received on one interface to other interfaces.
Since mDNS is "administratively scoped" such a gateway is required when mDNS resolutions should work across subnet borders.
mdns-repeater only requires the interface names and it will do the rest.
Example:
mdns-repeater eth0 vlan1
You can also specify the:
-f flag to keep mdns-repeater running in foreground.-d flag additionally to -f to print out parsed mDNS packets as they are receivedContainer is already configured for automatic restart (See docker-compose.yml).
Configure environment:
MDNS_REPEATER_INTERFACES: names of the interfaces:
export MDNS_REPEATER_INTERFACES="eth0 docker0"
DOCKER_REGISTRY: [OPTIONAL] registry prefix to pull image from a custom Docker registry:
export DOCKER_REGISTRY="my_registry_hostname:5000/"
Pull prebuilt Docker image:
docker-compose pull
Start prebuilt image:
docker-compose up -d
Stop/Restart:
docker-compose stop
docker-compose start
-d flag idea in this repository.Content type
Image
Digest
sha256:6af1f8638…
Size
9.8 MB
Last updated
over 1 year ago
docker pull darendarrow/docker-mdns-repeater