Skip to content

DID [ Docker In Docker] Rebuild dind images and leads to Cannot connect to the Docker daemon Issue#

Not Found Docker#

DID(Docker In Docker) ENV not found docker issue

Docker in docker 환경에서 Docker Dind 이미지 빌드시 Docker Daemon을 찾지 못하는 이슈가 발생했다.

Error Message#

Cannot connect to the Docker daemon. Is the docker daemon running on this host?

Solutions#

해결방안

해당 구간의 services: 영역에 접근 지정자로 alias를 넣어주면 해결된다.

Code#

  services:
    - name: IMAGE_REPOSITORY/IMAGE_NAME:dind
      alias: docker

Reference#


Last update: 2021년 2월 24일 02:10:46