sameersbn / docker-bind

Dockerize BIND DNS server with webmin for DNS administration
MIT License
913 stars 333 forks source link

driver failed programming external connectivity on endpoint bind #29

Closed grahamehorner closed 5 years ago

grahamehorner commented 7 years ago

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 ?

uvwild commented 7 years ago

does any host interface carries this IP 172.17.42.1

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

YinYangOfDao commented 4 years ago

@uvwild have you checked the network interface by ip addr to confirm the docker subnet value on your system?