Como já citei em outros posts no forum, não consegui ativar minha cloud com TCP, e sim consegui usando , conforme o help do jenkins explica:
URI to the Docker Host you are using. May be left blank to use the Docker default (defined by DOCKER_HOST environment variable) (typically unix:///var/run/docker.sock or tcp://127.0.0.1:2376).
Então deve ser por isso que o push proposto nesta aula para o dockerhub falhou...e agora josé. Foi tudo bem até bater nesta tarefa. Abaixo a saida de console da tentativa.
Cloning the remote Git repository
Cloning repository git@github.com:anderson-soza/jenkins-todo-list.git
> git init /var/lib/jenkins/workspace/jenkins-todo-list-principal # timeout=10
Fetching upstream changes from git@github.com:anderson-soza/jenkins-todo-list.git
> git --version # timeout=10
> git --version # 'git version 2.17.1'
using GIT_SSH to set credentials github-ssh
> git fetch --tags --progress -- git@github.com:anderson-soza/jenkins-todo-list.git +refs/heads/*:refs/remotes/origin/* # timeout=10
> git config remote.origin.url git@github.com:anderson-soza/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 72411db7121a8890d3109fb4863c29691f17c012 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 72411db7121a8890d3109fb4863c29691f17c012 # timeout=10
Commit message: "meu primeiro commit"
> git rev-list --no-walk 72411db7121a8890d3109fb4863c29691f17c012 # timeout=10
provisioning config files...
copy managed file [.env-dev] to file:/var/lib/jenkins/workspace/jenkins-todo-list-principal/.env
[jenkins-todo-list-principal] $ /bin/sh -xe /tmp/jenkins5406570016527287429.sh
+ docker run --rm -i hadolint/hadolint
docker: Cannot connect to the Docker daemon at tcp://127.0.0.1:2376. Is the docker daemon running?.
See 'docker run --help'.
Build step 'Execute shell' marked build as failure
Finished: FAILURE