#docker #kubernetes #container #orchestrator #microservice #infrastructure-as-code #devops #ci #cd 제목젠킨스 젠장2019-12-03 14:13작성자jenkinshaterStarted by user Mr.Yeon Running in Durability level: MAX_SURVIVABILITY [Pipeline] Start of Pipeline [Pipeline] node Running on Jenkins in /var/jenkins_home/workspace/practice [Pipeline] { [Pipeline] isUnix [Pipeline] sh + docker inspect -f . python:3.5.1 Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.40/containers/python:3.5.1/json: dial unix /var/run/docker.sock: connect: permission denied [Pipeline] isUnix [Pipeline] sh + docker pull python:3.5.1 Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.40/images/create?fromImage=python&tag=3.5.1: dial unix /var/run/docker.sock: connect: permission denied [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: script returned exit code 1 Finished: FAILURE처음에는 jenkins container에 docker를 깔았더니 docker.sock파일이 main docker daemon에서 사용하고 있어서 container 안에 있는 docker를 사용하지 못하였습니다. 그래서 docker run 시 v(volume)옵션을 이용해 docker.sock을 공유하게 설정한 후 jenkins container 안에 docker를 깔았는데 이번에는 permission denied가 나네요 ㅜㅜㅜㅜㅜㅜㅜㅜ 살려주세오 ㅜㅅㅜ 목록수정삭제답변글쓰기 댓글 [4] 댓글작성자(*)비밀번호(*)내용(*) 댓글 등록 더보기이전[Q&A] docker swarm join 할 때 Root CA Certificate 오류가 발생할 경우S2019-12-03다음도커 스웜과 젠킨스 연결을 성공한 대단한 학우분 있나요?젠킨스2019-12-03 Powered by MangBoard | 워드프레스 쇼핑몰 망보드