Skip to content

Instantly share code, notes, and snippets.

@gquittet
Last active June 5, 2024 09:44
Show Gist options
  • Save gquittet/5f2ef0e8806948c357adc81736e1fab1 to your computer and use it in GitHub Desktop.
Save gquittet/5f2ef0e8806948c357adc81736e1fab1 to your computer and use it in GitHub Desktop.

Replace Docker Desktop with Colima

  1. Install required dependencies
brew install colima docker docker-credential-helper docker-buildx docker-compose docker-completion
  1. 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"
      ]
  2. Start the vm using parameter optimized for your mac

colima start --arch aarch64 --vm-type=vz --vz-rosetta --cpu 4 --memory 4 --disk 64
  1. Uninstall docker desktop but it's not mandatory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment