Dockstation not working with colima
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
So the issue appears to be that DockStation is ignoring the docker context.
So the issue appears to be that DockStation is ignoring the docker context.
any solutions around it ?
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
I found a solution by running this simple command. Try your luck!
sudo ln -s $HOME/.colima/docker.sock /var/run/docker.sock