I am trying to build my first Docker Image and am encountering the error below.
For what its worth I also tried to access the urls via curl and got similar results. Not sure what I am missing.
Do I need some type of credentials to pull in the main image?
$ docker build -t springio/gs-spring-boot-docker .
Sending build context to Docker daemon 2.048kB
Step 1/4 : FROM openjdk:8-jdk-alpine
Get "https://registry-1.docker.io/v2/": dial tcp 44.207.51.64:443: connect: connection refused
$ curl https://registry-1.docker.io/v2/
curl: (56) Received HTTP code 403 from proxy after CONNECT
2
Answers
This answer solved part of my problem: Can't docker pull - connection refused
After that I also needed to get .docker.io white listed for my proxy.
Did you try to reboot docker deamon and try to run build again?
Can you just pull this image?