Using Docker on MacOS
Docker desktop is bad choice. Use Colima (containers in Lima) instead.
Install Colima
brew install colima
If you observe
“Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?”
set DOCKER_HOST
:
export DOCKER_HOST=unix://$HOME/.colima/docker.sock