Brew install colima and docker

ms@Studio Documents % brew install colima docker docker-credential-helper

Make a directory for docker plugins

ms@Studio sysreptor % mkdir -p ~/.docker/cli-plugins/

Download docker-buildx from releases https://github.com/docker/buildx/releases

ms@Studio sysreptor % curl -L <https://github.com/docker/buildx/releases/download/v0.17.1/buildx-v0.17.1.darwin-arm64> -o ~/.docker/cli-plugins/docker-buildx
ms@Studio sysreptor % chmod +x ~/.docker/cli-plugins/docker-buildx

ms@Studio sysreptor % docker buildx version
github.com/docker/buildx v0.17.1 257815a6fbaee88976808020bf04274388275ae8

ms@Studio sysreptor % export DOCKER_BUILDKIT=1                          

ms@Studio sysreptor % docker buildx create --name mybuilder --use
ms@Studio sysreptor % docker buildx inspect --bootstrap

image.png

Make sure you have enough ram in your container!

ms@Studio sysreptor % colima start --memory 8 --cpu 4