Docker Help

When trying to start a docker image I keep getting the error.

Error response from daemon: driver failed programming external connectivity on endpoint steamcache-dns (...) : Error starting userland proxy: listen udp bind: address already in use

The ellipsis are a long random alphanumeric string that changes every time I try to start the image.

I am running it on a ubuntu in a virtual machine if that matters.

Any help on this would be greatly appreciated.

bind the port with a specific ip that way it doesn't have any conflicts.

Sounds like you have something already using port 53. Should be able to pinpoint what is causing this issue with:

netstat -upna | grep ':53 '

I was able to pinpoint that it was dnsmasq that was using port 53. I was able to disabel dnsmasq by commenting out the dns=dnsmasq line in /etc/NetworkManager/NetworkManager.conf
Then ran these commands:

sudo service network-manager restart
sudo service networking restart
sudo killall dnsmasq

This disabled dnsmasq and then I was able to start the docker image successfully.


good to see you figured it out!

you can also use this to kill process on tcp/udp ports

fuser -k 53/tcp

where 53 is a port number.