Skip to content

Instantly share code, notes, and snippets.

@flavioheleno
Created August 28, 2024 17:41
Show Gist options
  • Save flavioheleno/90424e642ea7245f981e8c3ff3f6fd00 to your computer and use it in GitHub Desktop.
Save flavioheleno/90424e642ea7245f981e8c3ff3f6fd00 to your computer and use it in GitHub Desktop.
Using colima for multi-platform builds on macOS
brew install docker docker-buildx docker-compose colima
colima start --profile amd --arch amd --cpu 4 --memory 8 --disk 100 --runtime docker
colima start --profile arm --arch arm --cpu 4 --memory 8 --disk 100 --runtime docker
docker buildx create --use --name custom colima-amd
docker buildx create --append --name custom colima-arm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment