I am getting the below error while building an image
Step 1/10 : FROM ubuntu:14.04 Get https://registry-1.docker.io/v2/: net/http: request canceled while wai
+1 , it worked for me, however you also need to make sure that proxy settings are disabled if u are public internet or set proxies if u are on corporate network