Posts

Showing posts from April, 2018

Resolving the "request canceled while waiting for connection" Error in Docker for Windows

I'm currently learning how to use containers with Docker for Windows, but ran into a brick wall pretty early after installing it and trying to run the sample hello-world  image. After executing docker run hello-world , I got the following response: Error response from daemon: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers). In an attempt to resolve this, I created a Docker ID, confirmed my email address to activate it, then restarted Docker and opened a new Powershell prompt, but got the same result. My first thought was that this was a firewall issue, but when I checked my firewall configuration I found that Docker was already setup correctly for internet access. After some Googling, it turned out my issue was much simpler. All I needed to do was switch Docker to use Windows containers instead of Linux containers (Linux containers are the default  for Docker for Windows). You can d

Tales from the Whiteboard

Image
Sometimes someone will stop by my office looking for me, but I won't be there, so they'll leave me a note on my whiteboard. Usually the note has nothing to do with what they wanted and almost always doesn't identify who the person was who stopped by. Here are some of my favorites. When you move into the office of someone who'd kept it dark with a lot of atmosphere, but decide that you'd prefer it a bit brighter. Those comments are from three different people. "I was here!" I was never able to track down who "I" was. It remains an unsolved mystery. I worked from home yesterday and came in this morning to find the message in green waiting for me. It gave me a good laugh first thing in the morning. :)