I am using docker. And when I do this: docker images. I see this:
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
But when I try to start the container with this command:
docker run -p 5000:5000 -d hello-world/hello-world-python:0.0.0.RELEASE
I get this error:
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'.
So my question is: how can I run this?
CodePudding user response:
Your tag is different , the one you downloaded shows 0.0.2.RELEASE and one you are trying to run is 0.0.0.RELEASE . so change the command to :
docker run -p 5000:5000 -d hello-world/hello-world-python:0.0.2.RELEASE