Error downloading GeoName cities 1000 data
I noticed that every couple of minutes microservices CPU usage was going to ~100-120%.
I found this in the microservice logs
4 Replies
It can't resolve dns, so something about your networking setup is probably broken
Spot on! I tried pinging google.com from my container and it didnt work. I am using pihole, I am gonna look this up. Has anyone faced this issue?
Not that I can recall.
I resolved this.
I supply the docker host IP address as local DNS with DHCP from my router.
Under
ports
of the pihole
service one has to write docker host IP address. I don't understand the difference between this and writing just the port number so I can't explain why it works.
Under environment
I added DNSMASQ_LISTENING: all
so all devices on lan and all containers get response from pi hole.