bin install docker:// does not work except with /var/run/docker.sock
halostatue opened this issue · 0 comments
halostatue commented
I'm on macOS and use Colima as my docker provider. I have set docker context
to use the colima
context. Many existing tools don't understand how to work with docker contexts, so I have a script that will set $DOCKER_HOST
to the socket used by the context.
Even with this set, I get an error with bin install docker://safewaters/docker-lock
.
$ echo $DOCKER_HOST
unix:///Users/halostatue/.colima/default/docker.sock
$ bin install docker://safewaters/docker-lock
• Pulling docker image safewaters/docker-lock:latest
⨯ command failed error=Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?