airplay2-receiver icon indicating copy to clipboard operation
airplay2-receiver copied to clipboard

docker run error: zeroconf.NoneUniqueNameException

Open adrianzhang opened this issue 3 years ago • 1 comments

I git clone the source code and followed the instructions to create docker image and run it. However it gives me an error:

[root@mini airplay2-receiver]# docker run -it --rm --device /dev/snd --env AP2IFACE=enp1s0 --net host invano/ap2-receiver
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
Interface: enp1s0
IPv4: 192.168.1.5
IPv6: 240e:325:c:cf00:2e0:4cff:fe68:39b2

Traceback (most recent call last):
  File "ap2-receiver.py", line 737, in <module>
    mdns = register_mdns(args.mdns)
  File "ap2-receiver.py", line 659, in register_mdns
    zeroconf.register_service(info)
  File "/usr/local/lib/python3.7/dist-packages/zeroconf/__init__.py", line 2464, in register_service
    self.check_service(info, allow_name_change, cooperating_responders)
  File "/usr/local/lib/python3.7/dist-packages/zeroconf/__init__.py", line 2628, in check_service
    raise NonUniqueNameException
zeroconf.NonUniqueNameException

Don't worry about using root account, it is just a test computer. Thank you !

adrianzhang avatar Sep 23 '20 10:09 adrianzhang