我使用以下链接部署了Minikubehttps://gist.github.com/edrex/B54023FC9DBE8D21C81F5CCE523EDEDEDEDEDEDER在我的本地机器中,当我尝试根据此链接使用docker build -t hello-node:v1 .
构建Docker Image时
https://kubernetes.io/docs/tutorials/stateless-application/hello-minikube/#create-your-nodejs-application
它引发以下错误
Sending build context to Docker daemon 3.072kB
Step 1 : FROM node:6.9.2
Pulling repository docker.io/library/node
Error while pulling image: Get https://index.docker.io/v1/repositories/library/node/images: dial tcp: lookup index.docker.io on 192.168.122.1:53: server misbehaving
任何帮助都会大大使用预先感谢..
确保在当前终端运行$ eval $(minikube docker-env)
,以指向Minikube中的Docker实例。