Search code examples
dockerjenkinsputty

Jenkins docker image throwing error while pulling


I have created SSH connect on PuTTY for CentOS 7 running on Oracle VM Virtualbox. On PuTTy, I have installed Docker, followed by Docker Compose and they are up and running. However, I am encountering error when i tried to download the Jenkins Docker Image found on https://hub.docker.com/r/jenkins/jenkins/ using:

[jenkins@localhost ~]$ docker pull jenkins/jenkins
Using default tag: latest
Error response from daemon: Get https://registry-1.docker.io/v2/jenkins/jenkins/manifests/latest: Get https://auth.docker.io/token?scope=repository%3Ajenkins%2Fjenkins%3Apull&service=registry.docker.io: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

Also tried:

[jenkins@localhost ~]$  docker pull jenkins/jenkins:lts
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)

My internet connection is working perfectly fine. Any leads to resolve this issue.? Thanks.


Solution

  • Try logging out first and login using the username instead of email.

    Github Issues