小编Ami*_*hah的帖子

使用标记本地不存在图像:将图像推送到本地注册表

我试图将图像推送到在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)

push local docker docker-registry minikube

4
推荐指数
5
解决办法
2万
查看次数

标签 统计

docker ×1

docker-registry ×1

local ×1

minikube ×1

push ×1