Skip to content

Instantly share code, notes, and snippets.

@peteristhegreat
Last active January 29, 2022 21:32
Show Gist options
  • Save peteristhegreat/a62f4cdd05c5fd10bafdd54a43aa1f10 to your computer and use it in GitHub Desktop.
Save peteristhegreat/a62f4cdd05c5fd10bafdd54a43aa1f10 to your computer and use it in GitHub Desktop.
Docker for Mac replacement

Docker for Mac is in transition to being a subscription product for companies. containerd can do the same things as Docker for Mac… but the UI isn’t quite as nice. Here are the steps to use it (at least on Intel based Big Sur MacOS):

brew install lima

# add an alias for the new docker command
echo 'alias docker="lima nerdctl"' >> ~/.bash_profile
source ~/.bash_profile

# start the background service
limactl start

docker ps

This doesn’t uninstall Docker for Mac, but does get you a new command that works well. Colima has a helper for running k8s. (Untested)

brew install kubectl colima

colima start --with-kubernetes

kubectl config get-contexts

kubectl config use-context <context_name>

kubectl get node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment