Created
November 12, 2022 15:00
-
-
Save apinanyogaratnam/4d45b69f9ca4794d9254fc571a9cff46 to your computer and use it in GitHub Desktop.
Docker without Docker desktop on mac
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
# Install hyperkit and minikube | |
brew install hyperkit | |
brew install minikube | |
# Install Docker CLI | |
brew install docker | |
brew install docker-compose | |
# Start minikube | |
minikube start | |
# Tell Docker CLI to talk to minikube's VM | |
eval $(minikube docker-env) | |
# Save IP to a hostname | |
echo "`minikube ip` docker.local" | sudo tee -a /etc/hosts > /dev/null | |
# Test | |
docker run hello-world |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment