Running Docker on Mac with Colima

Goal: Replace Docker Desktop with Colima, a lightweight alternative for running Docker containers on Mac and Linux.

Find Colima at https://github.com/abiosoft/colima

Installation

brew install docker-credential-helper docker
brew install colima

Start Colima

colima start

Verify Docker

docker ps

Fix Docker Socket Issues

Some applications fail to connect with:

Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

Set the correct socket path:

export DOCKER_HOST=unix://${HOME}/.colima/default/docker.sock