加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

linux – Docker无效标记值

发布时间:2020-12-16 03:41:36 所属栏目:安全 来源:网络整理
导读:我正在尝试构建OwnCloud桌面客户端,the Owncloud docs解释了应该使用docker: Assuming you are in the root of the ownCloud Client’s source tree,youcan build an image from this Dockerfile like this:cd admin/win32/dockerdocker build . -t ownClou

我正在尝试构建OwnCloud桌面客户端,the Owncloud docs解释了应该使用docker:

Assuming you are in the root of the ownCloud Client’s source tree,you
can build an image from this Dockerfile like this:

cd admin/win32/docker
docker build . -t ownCloud-client-win32:

我用这个确切的命令得到一个错误,所以在the docker build docs之后我把点移到了最后.但后来我收到以下错误:

$docker build -t ownCloud-client-win32:2.1 .
invalid value "ownCloud-client-win32:2.1" for flag -t: Error parsing reference: "ownCloud-client-win32:2.1" is not a valid repository/tag
See 'docker build --help'.

为什么ownCloud-client-win32:2.1不是有效的标签名称?

然后我尝试运行docker build.,它运行成功,但最后我得到了一张未标记的图像.

有谁知道如何解决这个问题?

PS.我不知道它是否重要,但相关Dockerfile is here.

最佳答案
没有大写字母.尝试:owncloud-client-win32:2.1

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读