(转)解决k8s集群提示docker login问题(同样适用于Rancher)

文章转自 https://blog.liv1020.com/

参考文档:https://kubernetes.io/docs/concepts/containers/images/#configuring-nodes-to-authenticate-to-a-private-repository

sudo cp ~/.docker/config.json /var/lib/kubelet/config.json

 

posted @ 2018-08-29 10:28  帅LOVE俊  阅读(2641)  评论(0编辑  收藏  举报