Skip to content
Discussion options

You must be logged in to vote

@reptincel-cpu I had the same issue, but I discovered that Colima installs itself as a new docker context. That's the output of my docker context ls command:

NAME       DESCRIPTION                               DOCKER ENDPOINT                                      ERROR
colima *   colima                                    unix://$HOME/.colima/default/docker.sock
default    Current DOCKER_HOST based configuration   unix:///var/run/docker.sock

As you can see, the socket path is different from the one used by Docker. You can either change the socketPath param when instantiating a new Docker class, or you can create a symlink to Colima's socket:

sudo ln -sf /var/run/docker.sock ~/.colima/defa…

Replies: 7 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ether-wan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #722 on March 23, 2023 23:22.