Docker 无效的标记值
Docker invalid tag value
我正在尝试构建 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.
没有大写字母。尝试:owncloud-client-win32:2.1
我正在尝试构建 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.
没有大写字母。尝试:owncloud-client-win32:2.1