docker-squid
docker-squid copied to clipboard
driver failed programming external connectivity on endpoint bind
docker run -d --name=bind --dns=127.0.0.1 --publish=172.17.42.1:53:53/udp --publish=172.17.42.1:10000:10000 --volume=/srv/docker/bind:/data --env='ROOT_PASSWORD=SecretPassword' sameersbn/bind:latest WARNING: Localhost DNS setting (--dns=127.0.0.1) may fail in containers. Unable to find image 'sameersbn/bind:latest' locally latest: Pulling from sameersbn/bind Digest: sha256:e15a826c3ded4ea696717fde612f88c5bf205c6bccbb1df67678631496d8b803 Status: Downloaded newer image for sameersbn/bind:latest b65c626e422aef6ba21f4bfe38d6bd69795ea1090e8f170833e17e938ce00825 docker: Error response from daemon: driver failed programming external connectivity on endpoint bind (46ab9155dd1cdf9c0d5ba344a2d23840171eaff94a57e82a4dca8ee58bf64663): Error starting userland proxy: listen tcp 172.17.42.1:10000: bind: cannot assign requested address.
any ideas ?
➤ UV commented:
does any host interface carries this IP 172.17.42.1
Found the same issue today in trying to run as specified here: Deploying a DNS Server using Docker