2

Docker via minicube

 2 years ago
source link: https://gist.github.com/stiliajohny/e951cd81734d29231657ebc5f212df17
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Docker via minicube · GitHub

Instantly share code, notes, and snippets.

Docker via minicube

# Install hyperkit and minikube brew install hyperkit brew install minikube

# Install Docker CLI brew install docker brew install docker-compose

# Start minikube minikube start --cpus 2 --disk-size 50g --memory 5000 --insecure-registry registry-1.docker.io

# 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


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK