0
respostas

docker: Error response from daemon

Ao tentar gerar o buil automático estou tendo o seguinte erro: docker: 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).

mensagem completa exibida do console:

Started by user Jenkins Alura Running as SYSTEM Building in workspace /var/lib/jenkins/workspace/jenkins-todo-list-principal [WS-CLEANUP] Deleting project workspace... [WS-CLEANUP] Deferred wipeout is used... [WS-CLEANUP] Done The recommended git tool is: NONE using credential git-ssh Cloning the remote Git repository Cloning repository git@github.com:RodrigoHasse/jenkins-todo-list.git

git init /var/lib/jenkins/workspace/jenkins-todo-list-principal # timeout=10 Fetching upstream changes from git@github.com:RodrigoHasse/jenkins-todo-list.git git --version # timeout=10 git --version # 'git version 2.17.1' using GIT_SSH to set credentials git-ssh git fetch --tags --progress -- git@github.com:RodrigoHasse/jenkins-todo-list.git +refs/heads/:refs/remotes/origin/ # timeout=10 git config remote.origin.url git@github.com:RodrigoHasse/jenkins-todo-list.git # timeout=10 git config --add remote.origin.fetch +refs/heads/:refs/remotes/origin/ # timeout=10 Avoid second fetch git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision 7eefe37bff381f0a020ac99579b9bd68000b8481 (refs/remotes/origin/master) git config core.sparsecheckout # timeout=10 git checkout -f 7eefe37bff381f0a020ac99579b9bd68000b8481 # timeout=10 Commit message: "Meu primeiro commit" git rev-list --no-walk 7eefe37bff381f0a020ac99579b9bd68000b8481 # timeout=10 [jenkins-todo-list-principal] $ /bin/sh -xe /tmp/jenkins6083403608571911296.sh

  • docker run --rm -i hadolint/hadolint Unable to find image 'hadolint/hadolint:latest' locally docker: 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). See 'docker run --help'. Build step 'Execute shell' marked build as failure Finished: FAILURE