docker create --name avahi-config rittme/avahi:latest
docker cp avahi-config:/etc/avahi .
docker rm avahi-config
Edit your avahi-daemon.conf
and set the following line.
enable-dbus=no
docker run -d --net=host -v $(pwd)/avahi:/etc/avahi rittme/avahi:latest
avahi:
container_name: avahi
image: rittme/avahi:latest
network_mode: host
volumes:
- ./avahi:/etc/avahi:ro
restart: unless-stopped
docker build --build-arg AVAHI_VERSION=$(cat VERSION) -t rittme/avahi:$(cat VERSION) .
If you have any issues feel free to create an issue on GitHub
This repository is a fork from solidnerd/docker-avahi