Install Docker, Docker Compose and colima using brew
brew install docker brew install docker-compose brew install docker-buildx brew install colima
Start the colima service
brew services start colima colima start
Add the following line to your
.zshrc
export DOCKER_HOST=unix:///$HOME/.colima/docker.sock
Make sure
docker compose
command is availablemkdir -p ~/.docker/cli-plugins/ ln -sfn /opt/homebrew/bin/docker-compose ~/.docker/cli-plugins/docker-compose
Delete default colima profile:
colima delete default
Delete ~/.colima:
rm -rf ~/.colima
Reinstall colima:
brew reinstall colima
Start colima:
colima start