-
Hello, i'm trying to launch container w/ dockerode on Mac OS
I'm getting an error :
The docker service run with colima ( https://github.com/abiosoft/colima ) The deployment of the image works with Thanks !! |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments
-
you also need to use |
Beta Was this translation helpful? Give feedback.
-
Thanks @danisharora099 for your reply. I'm not sure where I should use |
Beta Was this translation helpful? Give feedback.
-
Also, not sure if |
Beta Was this translation helpful? Give feedback.
-
it doesn't work for me, I still get the ECONNREFUSED error. Are there any specific permissions to give ?
|
Beta Was this translation helpful? Give feedback.
-
Did you try it with |
Beta Was this translation helpful? Give feedback.
-
Yes ! I get the same error ... |
Beta Was this translation helpful? Give feedback.
-
@reptincel-cpu I had the same issue, but I discovered that Colima installs itself as a new
As you can see, the socket path is different from the one used by Docker. You can either change the sudo ln -sf /var/run/docker.sock ~/.colima/default/docker.sock |
Beta Was this translation helpful? Give feedback.
@reptincel-cpu I had the same issue, but I discovered that Colima installs itself as a new
docker context
. That's the output of mydocker context ls
command: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 newDocker
class, or you can create a symlink to Colima's socket:sudo ln -sf /var/run/docker.sock ~/.colima/defa…