I am attempting to follow the docker get-started tutorial and have encountered a problem on part 2 under the section
Pull and run the image from the remote repository
The command it says to run is
docker run -p 4000:80 username/repository:tag
I run that:
sudo docker run -p 4000:80 <username>/getting -started:part2
and I get
Unable to find image '<username>/getting-started:part2' locally docker: Error response from daemon: manifest for <username>/getting-started:part2 not found. See 'docker run --help'.
‘docker run --help’ is just a list of command options for
run so is no help.
Since I followed the previous instructions in the tutorial I have the repository on docker hub, and can see it there, so the push was successful.
I don’t understand what I am doing wrong or why I can’t pull it down.
Can anyone see my mistakes or figure out why it can’t find the image and the error shows up?
I am using an Amazon Linux 2 machine one AWS EC2, with mobaxterm.