Skip to content

Instantly share code, notes, and snippets.

@vfarcic
Last active January 20, 2023 19:48
Show Gist options
  • Save vfarcic/d2f36b05bf959e5fc91497ea3f0dceb3 to your computer and use it in GitHub Desktop.
Save vfarcic/d2f36b05bf959e5fc91497ea3f0dceb3 to your computer and use it in GitHub Desktop.
# Source: https://gist.github.com/d2f36b05bf959e5fc91497ea3f0dceb3
#######################################################
# Free Docker Desktop Alternative For Mac And Windows #
# https://youtu.be/LGNEG-t96eE #
#######################################################
# Referenced videos:
# - How to run local multi-node Kubernetes clusters using kind: https://youtu.be/C0v5gJSWuSo
# - K3d - How to run Kubernetes cluster locally using Rancher k3s: https://youtu.be/mCesuGk-Fks
#########
# Setup #
#########
# Install Docker CLI (https://download.docker.com/ or `brew install docker`)
# Install Minikube (https://minikube.sigs.k8s.io/docs/start/)
# Install HyperKit (https://minikube.sigs.k8s.io/docs/drivers/hyperkit/)
git clone https://github.com/vfarcic/docker-desktop-minikube
cd docker-desktop-minikube
############################
# Replacing Docker Desktop #
############################
docker container ls
minikube start --driver hyperkit
minikube docker-env
eval $(minikube docker-env)
docker container ls
docker image build --tag something .
docker container run --rm -t \
alpine echo "Is it working?"
docker compose up --detach
docker compose down
###########
# Destroy #
###########
minikube delete
@vfarcic
Copy link
Author

vfarcic commented Apr 11, 2022

Can you please let me know which version of Docker CLI you're running (docker version)?

@Gliganu
Copy link

Gliganu commented May 14, 2022

in the latest version, minikube apparently support M1. using 'qemu' driver kubernetes/minikube#11885

@vfarcic
Copy link
Author

vfarcic commented May 15, 2022

Finally

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