Dear All,
When trying out the training instruction for docker-compose I ma getting access denied message
docker run -d --name=vote -p 5000:80 --link redis:redis voting-app
Unable to find image ‘voting-app:latest’ locally
docker: Error response from daemon: pull access denied for voting-app, repository does not exist or may require ‘docker login’: denied: requested access to the resource is denied.
In the next chapter, explaining “example of voting application,” , they are explaining how to do it
We need to compile the image for us, it cannot be pulled from the hub directly. The three application we have to build the images
As mentioned in the video, we can get the dockerfile from the location
yes, you should build the images locally to be able to use it directly using docker run voting-app. or you can build/push them to dockerhub, then use dockerhubUsername/imageName to be able pull them from the dockerhub. When you tried docker run voting-app, the docker engine tr to pull voting-app image from dockerhub which is doesn’t exist.