Docker for Windows - 无法 运行 docker-在没有得到 "does not exist" 或 "login" 错误的情况下进行组合
Docker for Windows - Cannot run docker-compose up without getting "does not exist" or "login" errors
仅供参考 - 当 运行 在 Mac 上时,这一切都有效,但我想在 Windows 上 运行。
我运行正在从 IntelliJ 终端执行以下命令:
1 - docker login
(logging in with my credentials and getting the success message)
2 - docker-compose up
(to create and start the container)
但是在 运行 执行第二个命令时,我收到了:
Pulling marklogic (xxxxxxx:latest)...
ERROR: pull access denied for ..., repository does not exist or may require 'docker login'
我搜索了论坛,除了我的同事解释 Windows 是垃圾之外,没有发现任何问题可以解释。
如有任何帮助,我们将不胜感激。
一些额外信息:
docker -v
Docker version 17.12.0-ce, build c97c6d6
docker-compose -v
docker-compose version 1.18.0, build 8dd22a96
您在项目中使用自己的注册表 (docker-registry.xxx) 吗?
好吧 pressassociation/faux-uds-marklogic 不在 DockerHub 中,所以我想您必须先自己构建它,或者确保您指向的是其他人已将映像推送到的公司内部存储库。
也许它在 Mac 上有效,因为在 docker-compose 之前 docker 已对内部注册表进行了登录?
仅供参考 - 当 运行 在 Mac 上时,这一切都有效,但我想在 Windows 上 运行。
我运行正在从 IntelliJ 终端执行以下命令:
1 -
docker login
(logging in with my credentials and getting the success message)2 -
docker-compose up
(to create and start the container)
但是在 运行 执行第二个命令时,我收到了:
Pulling marklogic (xxxxxxx:latest)... ERROR: pull access denied for ..., repository does not exist or may require 'docker login'
我搜索了论坛,除了我的同事解释 Windows 是垃圾之外,没有发现任何问题可以解释。
如有任何帮助,我们将不胜感激。
一些额外信息:
docker -v
Docker version 17.12.0-ce, build c97c6d6
docker-compose -v
docker-compose version 1.18.0, build 8dd22a96
您在项目中使用自己的注册表 (docker-registry.xxx) 吗?
好吧 pressassociation/faux-uds-marklogic 不在 DockerHub 中,所以我想您必须先自己构建它,或者确保您指向的是其他人已将映像推送到的公司内部存储库。
也许它在 Mac 上有效,因为在 docker-compose 之前 docker 已对内部注册表进行了登录?