Last active
January 20, 2023 19:48
-
-
Save vfarcic/d2f36b05bf959e5fc91497ea3f0dceb3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
in the latest version, minikube apparently support M1. using 'qemu' driver kubernetes/minikube#11885