- Install required dependencies
brew install colima docker docker-credential-helper docker-buildx docker-compose docker-completion
-
Edit the docker configuration to use extensions and credentials helper (otherwise everything will be stored in clear)
Add these lines to
~/.docker/config.json
"credsStore": "osxkeychain", "cliPluginsExtraDirs": [ "/opt/homebrew/lib/docker/cli-plugins" ]
-
Start the vm using parameter optimized for your mac
colima start --arch aarch64 --vm-type=vz --vz-rosetta --cpu 4 --memory 2 --disk 64
- Uninstall docker desktop but it's not mandatory