dev-resources.site
for different kinds of informations.
How to migrate from Docker Desktop to Colima on a Mac M1
Published at
3/25/2023
Categories
docker
colima
tutorial
opensource
Author
luizkowalski
Author
12 person written this
luizkowalski
open
Recently, I've been trying to move away from Docker Desktop for Mac and I think I finally got it working so here is what I did:
- Uninstall Docker Desktop
- Delete
~/.docker/config.json
(Don't worry, Colima will recreate it correctly) - Install
docker-cli
with Homebrew
brew install --formula docker
- Install colima
brew install colima
- Setup a VM
colima start -a x86_64
You are only gonna need to run start
with options this time, next time, colima start
is enough.
- Install BuildKit for Mac with the following script
#!/bin/bash
ARCH=arm64
VERSION=v0.10.4
curl -LO https://github.com/docker/buildx/releases/download/${VERSION}/buildx-${VERSION}.darwin-${ARCH}
mkdir -p ~/.docker/cli-plugins
mv buildx-${VERSION}.darwin-${ARCH} ~/.docker/cli-plugins/docker-buildx
chmod +x ~/.docker/cli-plugins/docker-buildx
docker buildx version
And that's it đ
colima Article's
7 articles in total
ā¸ā¸ąā¸āšā¸ā¸āšā¸§ā¸ā¸Ŗāšā¸ā¸ąāšā¸ Container runtime Colima
read article
Declarative and reproducible environments with colima, nix and k8s
read article
Howto: WASM runtimes in Docker / Colima
read article
Docker Desktop vs Colima on Mac M1 for working with VSCode dev containers
read article
How to migrate from Docker Desktop to Colima on a Mac M1
currently reading
Improving Docker file performance on MacOS
read article
How to switch from Docker Desktop to Colima for local development
read article
Featured ones: