Update: I no longer use Colima on my Mac. I just launch a Linux virtual machine using UTM and install Docker in there. When developing, I use VS Code’s Remote - SSH extension to connect to the Linux VM and run Docker commands there.
These instructions are based on the swyx’s article “Running Docker without Docker Desktop”.
Uninstall Docker Desktop: Docker menu → Troubleshoot → Uninstall
Install these:
brew install colima docker docker-compose
Make CLI plugin available:
bash -c 'mkdir -p ~/.docker/cli-plugins ln -sfn $(brew --prefix)/opt/docker-compose/bin/docker-compose ~/.docker/cli-plugins/docker-compose'