Docker-Compose can't connect to Docker Daemon

后端 未结 18 1071
死守一世寂寞
死守一世寂寞 2020-12-22 20:25

I am getting an error message saying I can\'t connect to the docker daemon. I have looked into other people\'s answers who have had similar issues but it hasn\'t helped. I

18条回答
  •  伪装坚强ぢ
    2020-12-22 21:13

    Another reason why this error can show up: for me it was a malformed image-path definition in the docker-compose.yml:

      service:
        image: ${CONTAINER_REGISTRY_BASE}/my-service
       ...
    

    Lookis ok'ish first, but i had CONTAINER_REGISTRY_BASE=eu.gcr.io/my-project/ set on the env. Apparently the // in the image path caused this error.

    docker-compose: v.1.21.2
    docker: 18.03.1-ce
    

提交回复
热议问题