Docker Jenkins
-
[Jenkins] Docker Build Error: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?CICD 2022. 2. 10. 15:38
Jenkin에서 Docker plugin을 제공해 주지만 Execute Shell에서 docker build 명령어로 직접 빌드 하려면 Jenkins Docker image 안에 Docker를 설치 해야 하고 Docker image 안에서 Docker를 빌드하면 다음과 같은 에러가 난다. Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? 저 에러를 구글에서 검색하면 docker 서비스를 재사작 하라고 한다. ..