Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockstation not working with colima #322

Open
I-Abdelhamid opened this issue Jan 4, 2023 · 4 comments
Open

Dockstation not working with colima #322

I-Abdelhamid opened this issue Jan 4, 2023 · 4 comments

Comments

@I-Abdelhamid
Copy link

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

@pwagland
Copy link

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

@I-Abdelhamid
Copy link
Author

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

any solutions around it ?

@nickcodefresh
Copy link

nickcodefresh commented Jun 5, 2023

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

@SVMadhavaReddy
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants