This image uses Darell Tan's mdns-repeater to bridge/repeat mDNS requests between two network interfaces.
The intended use of this container is to allow a docker-compose stack running in net=bridge mode to be able to communicate with the Docker host's external network.
Image on Docker Hub: https://hub.docker.com/repository/docker/jdbeeler/mdns-repeater
This container was designed to be used as part of a docker-compose stack. When creating the configuration file:
networks: sectionSee mdns_repeater in the example docker-compose file below for the other attributes necessary to run the container.
There are three environment variables that must be set:
eth0, wlan0, etc.)walled in the example below)docker-compose.yml)version: '3.5'
services:
redis:
image: redis:5.0
networks:
- walled
nginx:
image: nginx
networks:
- walled
mdns_repeater:
image: jdbeeler/mdns-repeater:latest
network_mode: "host"
privileged: true
env_file:
- ./envs/mdns-repeater
volumes:
- /var/run/docker.sock:/var/run/docker.sock
networks:
walled:
name: walled
mdns-repeater.c was obtained from kennylevinsen's fork of Darell Tan's mdns-repeater.c
The original dockerization of mdns-repeater was done by angelnu
Licensing is GPLv2 as inherited from Darell Tan's mdns-repeater.c.
Content type
Image
Digest
Size
17.4 MB
Last updated
over 4 years ago
docker pull raetha/mdns-repeater