Docker and Kubernetes on MacOS in 2023

Prerequisite: install brew

/bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)”

Docker with brew

brew install docker docker-compose colima
colima start
docker ps

Kubernetes too?

brew install k3d kubectl
k3d cluster create default –servers 1 –agents 3 –image rancher/k3s:latest
kubectl get nodes

PS. Works on Intel based MacBook Pro

This entry was posted in Mac OS X, Technical. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *