Docker on Windows – Network Issues

Recently after updating to version 17.0.3.0 I noticed some network related issues while attempting to install new npm packages and interact with Docker Hub.

Attempting to search on Docker Hub would reliably fail

docker search dotnet
Error response from daemon: Get https://index.docker.io/v1/search?q=dotnet&=25: dial tcp: lookup index.docker.io on 192.168.65.1:53: read udp 192.168.65.2:43594->192.168.65.1:53: i/o timeout

Turns out the fix was remarkably simple, instead of using the Automatic DNS Server switching to a fixed DNS Server resolved the issue:

docker network settings

Advertisement
This entry was posted in Development, DevOps, Docker. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.