【问题标题】:Docker invalid tag valueDocker 无效标签值
【发布时间】:2016-04-20 10:57:56
【问题描述】:

我正在尝试构建 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:<version>

我在使用这个确切的命令时遇到了错误,所以在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

【问题讨论】:

    标签: linux macos docker repository owncloud


    【解决方案1】:

    没有大写。试试看:owncloud-client-win32:2.1

    【讨论】:

      猜你喜欢
      • 2022-11-14
      • 1970-01-01
      • 2020-09-19
      • 2019-04-10
      • 2016-07-22
      • 2022-10-13
      • 1970-01-01
      • 1970-01-01
      • 2017-06-20
      相关资源
      最近更新 更多