tangcong / tangcong.github.io

Home Page
https://tangcong.info
1 stars 1 forks source link

setup mirror-registry for minikube #2

Open tangcong opened 5 years ago

tangcong commented 5 years ago
minikube ssh
sudo mkdir -p /etc/docker
sudo tee /etc/docker/daemon.json <<-'EOF'
{
  "registry-mirrors": ["xxx"]
}
EOF
sudo systemctl daemon-reload
sudo systemctl restart docker
tangcong commented 5 years ago

Minikube start --registry-mirror strings Registry mirrors to pass to the Docker daemon