1
resposta

docker: Got permission denied while trying to connect to the Docker daemon socket at

Quando rodo para agendar fica nessa parte e nao passa:

Started by user 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
using credential git-hub
Cloning the remote Git repository
Cloning repository git@github.com:rreynoud/jenkins-todo-list.git
 > git init /var/lib/jenkins/workspace/jenkins-todo-list-principal # timeout=10
Fetching upstream changes from git@github.com:rreynoud/jenkins-todo-list.git
 > git --version # timeout=10
using GIT_SSH to set credentials git-hub
 > git fetch --tags --progress -- git@github.com:rreynoud/jenkins-todo-list.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url git@github.com:rreynoud/jenkins-todo-list.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url git@github.com:rreynoud/jenkins-todo-list.git # timeout=10
Fetching upstream changes from git@github.com:rreynoud/jenkins-todo-list.git
using GIT_SSH to set credentials git-hub
 > git fetch --tags --progress -- git@github.com:rreynoud/jenkins-todo-list.git +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision f891f284c2af4c54a250a27c0a1ccc7285db43bc (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f f891f284c2af4c54a250a27c0a1ccc7285db43bc # timeout=10
Commit message: "First commit"
 > git rev-list --no-walk f891f284c2af4c54a250a27c0a1ccc7285db43bc # timeout=10
[jenkins-todo-list-principal] $ /bin/sh -xe /tmp/jenkins4315784523658044955.sh
+ docker run --rm -i hadolint/hadolint
Docker Build
Docker Build: building image at path /var/lib/jenkins/workspace/jenkins-todo-list-principal
Step 1/7 : FROM python:3.6
...
Installing collected packages: wheel, pytz, Django, django-bootstrap-form, django-glrm, django-widget-tweaks, mysqlclient, uWSGI, gunicorn, python-decouple

  Found existing installation: wheel 0.33.6

    Uninstalling wheel-0.33.6:

      Successfully uninstalled wheel-0.33.6

Successfully installed Django-2.1.7 django-bootstrap-form-3.4 django-glrm-1.1.3 django-widget-tweaks-1.4.3 gunicorn-19.9.0 mysqlclient-1.4.2.post1 python-decouple-3.1 pytz-2018.9 uWSGI-2.0.18 wheel-0.29.0

Removing intermediate container 4d61057f128d

 ---> 5c2db429504b

Step 6/7 : EXPOSE 8000


 ---> Running in 8640c32425a4

Removing intermediate container 8640c32425a4

 ---> 9921e1e7d2bb

Step 7/7 : CMD ["gunicorn", "to_do.wsgi:application", "--bind", "0.0.0.0:8000", "--workers", "3"]


 ---> Running in 49dc0afe6087

Removing intermediate container 49dc0afe6087

 ---> 650e7c2ff188

Successfully built 650e7c2ff188

Tagging built image with rafaelvzago/django_todolist_image_build:latest
Docker Build Response : 650e7c2ff188
Docker Build Done
Finished: SUCCESS

Alguem pode me ajudar por favor?

Agora funcionou, mas nao sei o que fiz... rsrsrs

1 resposta

Oi Bernardo, tudo bem?

Não entendi, você conseguiu resolver o problema?