RyanEwen / lan-cache-docker

A super simple docker container to run a LAN cache for steam, origin, etc
78 stars 14 forks source link

DNSMasq stuck restarting #21

Closed asininedervish closed 6 years ago

asininedervish commented 6 years ago

Hi - the instructions seemed extremely straighforward, I ran through them on a clean Ubuntu 18.04 install, and both times I encountered the same error. When the containers start up, the dnsmasq one is stuck with a status of Restarting (2) 3 seconds ago - the timer will slide up until it restarts the container again.

This is my first foray into Docker, so there is likely something I've done wrong, but I'm at a bit of a loss?

RyanEwen commented 6 years ago

What is the output of docker-compose logs dnsmasq ?

asininedervish commented 6 years ago

dnsmasq | dnsmasq: failed to create listening socket for port 53: Address in use dnsmasq | Autodetected host IP as 192.168.10.162

Edit: To be clear, that's the host IP

RyanEwen commented 6 years ago

It sounds like you already have a DNS program running on your Ubuntu machine, preventing dnsmasq from running on port 53

asininedervish commented 6 years ago

It looks like something default on both Ubuntu server & desktop. VM's for both have the issue.

asininedervish commented 6 years ago

It was systemd - the following link resolved. Thanks!

https://unix.stackexchange.com/questions/304050/how-to-avoid-conflicts-between-dnsmasq-and-systemd-resolved