我试图将图像推送到在minikube中运行的本地注册表,但得到以下错误:
Successfully built ee84225eb459
Successfully tagged user/apiserver:0.0.1
$ docker push localhost:5000/user/apiserver:0.0.1
The push refers to a repository [localhost:5000/user/apiserver]
An image does not exist locally with the tag: localhost:5000/user/apiserver
Run Code Online (Sandbox Code Playgroud)
我已经尝试用以下方式启动minikube:
minikube start --vm-driver xhyve --insecure-registry localhost:5000
eval $(minikube docker-env)
Run Code Online (Sandbox Code Playgroud)