Skip to content

Instantly share code, notes, and snippets.

@apinanyogaratnam
Created November 12, 2022 15:00
Show Gist options
  • Save apinanyogaratnam/4d45b69f9ca4794d9254fc571a9cff46 to your computer and use it in GitHub Desktop.
Save apinanyogaratnam/4d45b69f9ca4794d9254fc571a9cff46 to your computer and use it in GitHub Desktop.
Docker without Docker desktop on mac
# 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