<p>I was using Docker Desktop on my Mac for a long time. Currently Docker desktop causing a huge issues related to starting up. Everytime <a href="https://stackoverflow.com/questions/69552636/cannot-launch-docker-desktop-for-mac/71861493#71861493">it needs some tweak</a> to run or uninstall and install it again, that takes several hours to fix every time I start working.</p>
<p>So I started using other Docker Desktop alternative for mac that is Colima (<strong>Co</strong>ntainer on <strong>Li</strong>nux on <strong>Ma</strong>c) installed with the help of the <a href="https://github.com/abiosoft/colima" rel="noreferrer">Git link.</a></p>
<p>And I am using Docker client for Docker runtime by installing it using:
<code>brew install docker</code> and I have logged in using <code>docker login</code> via terminal.</p>
<p><strong>The important note here is that</strong> all the above configuration works well with Docker Desktop <a href="https://stackoverflow.com/questions/44346109/how-to-easily-install-and-uninstall-docker-on-macos/65468254#65468254">but after uninstalling everything related to docker</a> and start using <code>Colima</code>.</p>
<p>While I run <code>docker info</code> I got the following message:</p>
<pre><code>$ docker info
Client:
 Context:    default
 Debug Mode: false

Server:
ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
errors pretty printing info
</code></pre>
<p>Here are few other information that might need:</p>
<pre><code>$ colima version
colima version 0.4.2
git commit: f112f336d05926d62eb6134ee3d00f206560493b

runtime: docker
arch: x86_64
client: v20.10.17
server: v20.10.11

kubernetes
Client Version: v1.24.1
Kustomize Version: v4.5.4
Server Version: v1.23.6+k3s1
</code></pre>
<p>Operating System: macOS Monterey
Version: 12.3.1 (21E258)</p>
<p>Any help would be highly appreciated.</p>

<p>After posting the question on StackOverflow I was non stop searching for a solution. Finally it took a day to fixed it (for me). While searching on google <a href="https://github.com/nektos/act/issues/1051#issuecomment-1070599087" rel="noreferrer">I have found a solution in this link</a>.</p>
<p>Basically <code>Colima</code> usage <code>$HOME/.colima/docker.sock</code>, so first I checked if there is anything in the <code>~/.colima</code> by running <code>ls -la ~/.colima</code> and I have found that <code>docker.sock</code> is there.</p>
<p>So I set up the DOCKER_HOST by running the following command:</p>
<p><code>$ export DOCKER_HOST=&quot;unix://$HOME/.colima/docker.sock&quot;</code></p>
<p>and then run:</p>
<p><code>$ docker info</code></p>
<p>Now it shows everything related to Docker Server :)</p>
<pre><code>Client:
 Context:    default
 Debug Mode: false

Server:
 Containers: 29
  Running: 19
  Paused: 0
  Stopped: 10
 Images: 19
 Server Version: 20.10.11
 .....
</code></pre>
