docker push错误:标签不存在 [英] docker push error : tag does not exist

查看:157
本文介绍了docker push错误:标签不存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当将docker映像推送到注册表时,我收到此消息:

When pushing a docker image to registry, I got this message :

   docker push   -t   domain.com/repo/tag_docker_name:latest

    Error tag name does not exist

唯一的方法是通过Web界面在docker存储库中创建标签,然后docker push工作.

The only way is to create the tag in docker repository via web interface, and then docker push works.

是否存在用于创建docker push的命令行?

Is there a command line to create docker push ?

推荐答案

您需要在图像中添加标签,

You need to add a tag to the image, here is the documentation. Use it like this docker tag 0e5574283393 domain.com/repo/tag_docker_name:latest where 0e5574283393 is the image hash

这篇关于docker push错误:标签不存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆