简体   繁体   English

无法从 docker 集线器存储库中找到图像

[英]Unable to find image from docker hub repository

I am a really newbie in docker and basically I've started to follow this official guide: https://hub.docker.com/_/mongo我是 docker 的新手,基本上我已经开始遵循这个官方指南: https://hub.docker.com/_/mongo

I've executed this commands: step 1 --> docker pull mongo我已经执行了这个命令:步骤 1 --> docker pull mongo

step 2--> docker images and the output: REPOSITORY TAG IMAGE ID CREATED SIZE mongo latest 3f3daf863757 2 weeks ago 388MB第 2 步--> docker 图像和 output:存储库标签图像 ID 创建大小 mongo latest 3f3daf863757 2 周前 388MB

step 3 --> docker run --name some-mongo -d mongo:tag第 3 步 --> docker 运行 --name some-mongo -d mongo:tag

Unable to find image 'latest:tag' locally docker: Error response from daemon: pull access denied for latest, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.无法在本地找到图像“最新:标签”docker:来自守护程序的错误响应:最新的拉取访问被拒绝,存储库不存在或可能需要“泊坞窗登录”:被拒绝:请求的资源访问被拒绝。

Any help would be great, thanks in advance,任何帮助都会很棒,在此先感谢,

Please try to run with below command.请尝试使用以下命令运行。 you are not passing the correct tag name.您没有传递正确的标签名称。 available list of tag for MongoDB are here. MongoDB 的可用标签列表在这里。 https://hub.docker.com/_/mongo?tab=tags https://hub.docker.com/_/mongo?tab=tags

docker run --name my-mongodb  -d mongo:latest

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM