[Test]: E2E is failing on macOS and Linux due to already bound port 53.
Which jobs/test(s) are failing
-
https://github.com/wayofdev/docker-shared-services/blob/master/.github/workflows/e2e-macos.yml
-
https://github.com/wayofdev/docker-shared-services/blob/master/.github/workflows/e2e-ubuntu.yml
Reason for failure/description
These workflows try to run docker-compose project on host GitHub Runner, or in container, which also shares same network with host GitHub Runner. As GitHub runners, by default, uses port 53 for it's internal needs, these two workflows will always fail.
Media prove
No response
Additional context
No response
This also fails locally on macOS due the same port binding issues. macOS using mdnsResponder on port 53 which is how it handles all the multicast items between devices.
When running dnsmasq before I found this project on my mac, I've had to run on port 5300.
I've got the same issue, following the steps up to make up
Error response from daemon: driver failed programming external connectivity on endpoint dnsmasq
(928a...d94f): failed to bind port 0.0.0.0:53/tcp: Error starting userland proxy: listen
tcp4 0.0.0.0:53: bind: address already in use
make: *** [Makefile:137: up] Error 1
I am on ubuntu; did a look up of what's using the port 53 and seeing this:
$ sudo lsof -i -P -n | grep 53
dnsmasq 5878 libvirt-dnsmasq 5u IPv4 11219 0t0 UDP 192.168.122.1:53
dnsmasq 5878 libvirt-dnsmasq 6u IPv4 11220 0t0 TCP 192.168.122.1:53 (LISTEN)