Minikube: How to set registry-mirror for docker in minikube?

Created on 30 Sep 2016  路  5Comments  路  Source: kubernetes/minikube

Hello everyone, I want to set --registry-mirror for docker in minikube, but when I create /home/docker/.docker/config.json with content {"registry-mirrors":["xxx"]}, I can't find how to make docker daemon restart.

There is no systemctl or service. When I ran minikube stop minikube start to restart the cluster, I found that the /home/docker/.docker/config.json I just created was missing.

I used minikube start --registry-mirror=https://registry-mirror.com and it didn't work.

So what can I do?

Thank you very much.

Most helpful comment

come on people in china or iran or whatever banned from using official repo and if we want to use mirror there is no option ?

All 5 comments

I run into the same problem. Do you have any solutions?

@blindpirate how to set it? i get the same issue.

come on people in china or iran or whatever banned from using official repo and if we want to use mirror there is no option ?

I run into the same problem. Do you have any solutions?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jroucheton picture jroucheton  路  3Comments

Starefossen picture Starefossen  路  3Comments

mrtkp9993 picture mrtkp9993  路  3Comments

mdkess picture mdkess  路  3Comments

vainikkaj picture vainikkaj  路  3Comments