无法在本地找到图像 'hello-world/hello-world-python:0.0.0.RELEASE'

Unable to find image 'hello-world/hello-world-python:0.0.0.RELEASE' locally

我正在使用 docker。当我这样做时:docker 图片。我看到这个:

hello-world/hello-world-python   0.0.2.REALEASE   938e41524586   4 hours ago   91.1MB
in28min/hello-world-nodejs       0.0.1.RELEASE    014fb7759606   2 years ago   99.5MB

但是当我尝试使用此命令启动容器时:

docker run -p 5000:5000 -d hello-world/hello-world-python:0.0.0.RELEASE

我收到这个错误:

Unable to find image 'hello-world/hello-world-python:0.0.0.RELEASE' locally docker: Error response from daemon: pull access denied for hello-world/hello-world-python, repository does not exist or may require 'docker login': denied: requested access to the resource is denied. See 'docker run --help'.

所以我的问题是:我怎样才能 运行 这个?

您的标签不同,您下载的标签显示为 0.0.2.RELEASE 而您尝试 运行 的标签显示为 0.0.0.RELEASE。所以将命令更改为:
docker 运行 -p 5000:5000 -d hello-world/hello-world-python:0.0.2.RELEASE