Installation:
brew install docker docker-compose docker-credential-helper docker-buildx colima
Make sure the following settings are set in the file ~/.docker/config.json
:
{
"credsStore": "osxkeychain",
"currentContext": "colima",
"cliPluginsExtraDirs": [
"/usr/local/lib/docker/cli-plugins"
]
}
Start colima
and give it enough resources:
colima start --cpu 4 --memory 6 --disk 100 --vm-type=vz
--vm-type=vz
fixes the issue with permissions. More here.