Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ianblenke/docker-avahi
Avahi image for multicast-DNS (zeroconf) broadcasting of dbus discovered resources
https://github.com/ianblenke/docker-avahi
Last synced: about 1 month ago
JSON representation
Avahi image for multicast-DNS (zeroconf) broadcasting of dbus discovered resources
- Host: GitHub
- URL: https://github.com/ianblenke/docker-avahi
- Owner: ianblenke
- Created: 2015-02-04T04:40:50.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-06T03:04:38.000Z (almost 10 years ago)
- Last Synced: 2024-08-02T12:22:53.176Z (4 months ago)
- Language: ApacheConf
- Size: 148 KB
- Stars: 31
- Watchers: 3
- Forks: 12
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-starred - ianblenke/docker-avahi - Avahi image for multicast-DNS (zeroconf) broadcasting of dbus discovered resources (others)
README
## github repository: [ianblenke/docker-avahi](https://github.com/ianblenke/docker-avahi)
## docker hub image: [ianblenke/avahi](https://registry.hub.docker.com/u/ianblenke/avahi/)This enables mdns broadcasting of dbus discovered resources.
### Usage:
Run this with /var/run/dbus mounted for dbus:
docker run -d -v /var/run/dbus:/var/run/dbus ianblenke/avahi
This will broadcast the docker host's `$(hostname).local` to the local segments, along with resource records for the services discovered on dbus.
You will likely need to add a dbus policy to allow org.freedesktop.Avahi to be owned on the underlying host:
cat < /etc/dbus-1/system.d/avahi.conf
EOFIf you are using CoreOS, you can use the supplied [avahi.cloud-init](https://github.com/ianblenke/docker-avahi/blob/master/avahi.cloud-init) like this:
wget -O /tmp/avahi.cloud-init https://raw.githubusercontent.com/ianblenke/docker-avahi/master/avahi.cloud-init
sudo coreos-cloudinit -from-file /tmp/avahi.cloud-initOr just tack this on to your boot time cloud-init.