Avoid System Performance issues with Docker Desktop

Replace Docker Desktop with Hyperkit to avoid system performance issues
Get rid of Docker Desktop App
CPU Load Activity
  • Hyperkit
  • Hyper-V, KVM
  • Parallels, Podman
  • VirtualBox (or) VMWare

Uninstall Docker Desktop

Goto Finder -> Applications -> Select Docker -> Right Click -> Move to Bin

Install Docker CommandLine

brew install docker
# docker info
Context: default
Debug Mode: false
ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
errors pretty printing info

Set Docker environment variables

eval $(minikube -p minikube docker-env)
# docker info

Install Hyperkit

HyperKit is an open-source hypervisor for macOS hypervisor, optimized for lightweight virtual machines and container deployment.

brew install hyperkit
hyperkit -v                                                                                               127 

hyperkit: 0.20200908
Homepage: https://github.com/docker/hyperkit
License: BSD
# docker --help
# docker ps
# docker images

Kubernetes cluster using the Hyperkit driver

minikube start --driver=hyperkit😄  minikube v1.23.0 on Darwin 11.5.2
✨ Using the hyperkit driver based on existing profile
👍 Starting control plane node minikube in cluster minikube
🔄 Restarting existing hyperkit VM for "minikube" ...
🐳 Preparing Kubernetes v1.22.1 on Docker 20.10.8 ...
🔎 Verifying Kubernetes components...
▪ Using image gcr.io/k8s-minikube/storage-provisioner:v5
🌟 Enabled addons: default-storageclass, storage-provisioner
🏄 Done! kubectl is now configured to use "minikube" cluster and "default" namespace by default

Check nodes and pods using kubectl commands.

kubectl get nodes --context minikube
minikube Ready control-plane,master 3h56m v1.22.1
kubectl get pods --context minikube -n kube-system
coredns-78fcd69978-5f4vx 1/1 Running 1 (5m35s ago) 3h59m
etcd-minikube 1/1 Running 1 (5m35s ago) 3h59m
kube-apiserver-minikube 1/1 Running 1 (5m35s ago) 3h59m
kube-controller-manager-minikube 1/1 Running 1 (5m35s ago) 3h59m
kube-proxy-lhpb6 1/1 Running 1 (5m35s ago) 3h59m
kube-scheduler-minikube 1/1 Running 1 (5m35s ago) 3h59m
storage-provisioner 1/1 Running 4 (6m5s ago) 3h59m



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store