dockstation icon indicating copy to clipboard operation
dockstation copied to clipboard

Dockstation not working with colima

Open I-Abdelhamid opened this issue 3 years ago • 4 comments

I have Colima installed with the docker client on my mac but stating dockstation gives the error failed to attach docker event listener error connect ENOENT /var/run/docker.sock I tried chmod 666 /var/run/docker.sock but gives me chmod: Unable to change file mode on /var/run/docker.sock: No such file or directory

Docker is running using docker ps and docker images

I-Abdelhamid avatar Jan 04 '23 11:01 I-Abdelhamid

So the issue appears to be that DockStation is ignoring the docker context.

pwagland avatar Jan 10 '23 14:01 pwagland

So the issue appears to be that DockStation is ignoring the docker context.

any solutions around it ?

I-Abdelhamid avatar Jan 10 '23 15:01 I-Abdelhamid

Option 3 from https://github.com/abiosoft/colima/blob/main/docs/FAQ.md#changing-the-active-docker-context worked for me. Ignore the error above Docker Compose not being installed.

I was getting the rror

Failed to fetch container logs: 
Command failed: docker logs 97bfba5e4c14d915863254c3eb8ce2cf653a30e3333ae494e13803f29c60c27d --tail=500 2>&1

[stdout]: /bin/sh: docker: command not found

but this fixed that issue sudo ln -s /opt/homebrew/bin/docker /usr/local/bin/docker

nickcodefresh avatar Jun 05 '23 09:06 nickcodefresh

I found a solution by running this simple command. Try your luck! sudo ln -s $HOME/.colima/docker.sock /var/run/docker.sock

SVMadhavaReddy avatar Nov 05 '23 20:11 SVMadhavaReddy