This repository contains sources for fat0troll/avahi - Docker container.
Note 1: This container requires host or macvlan network type, and will not work in bridge (default mode) network. See examples/docker-compose.yml for details. If you can/want to make it work in bridge mode, PRs are welcome (see Note 3).
Note 2: This container tested under Linux and built for linux/amd64 only. That's because this is the only architecture used in my servers at the time. If you want to, you can send PR with changes for building image for other architectures.
Due to licensing issues Avahi example configuration files isn't included in this repository, so you need to grab it manually. You can do this via these commands:
$ docker create --name avahi-config fat0troll/avahi
$ docker cp avahi-config:/etc/avahi .
$ docker rm avahi-config
In the generated config files for Avahi you may add/remove your services (under services folder), and you should disable DBus otherwise it will not start at all. Add this to avahi-daemon.conf first section:
enable-dbus=no
$ docker run -it --name avahi --net=host \
-v /path/to/avahi/configs:/etc/avahi \
fat0troll:avahi
Content type
Image
Digest
Size
4.2 MB
Last updated
about 6 years ago
docker pull fat0troll/avahi