getting the below error when running docker-compose up
pull access denied for worker-app, repository does not exist or may require ‘docker login’: denied: requested access to the resource is denied
getting the below error when running docker-compose up
pull access denied for worker-app, repository does not exist or may require ‘docker login’: denied: requested access to the resource is denied
The default place to look for images is dockerhub default repo. redis
and posgres:9.4
will be found there, however the remaining images will not be found there, hence the error.
For the 3 app
images, try prefixing with kodekloud
, e.g.
image: kodekloud/voting-app
Hello Alistair,
Thank you for your response, but I am still getting the same error.
Below is the docker-compose.yml file content.
redis:
image: redis
db:
image: postgres:9.4
vote:
image: kodekloud/voting-app
ports:
- 5000:80
links:
- redis
worker:
image: kodekloud/worker-app
links:
- redis
- db
result:
image: kodekloud/result-app
ports:
- 5001:80
links:
- db
Error Screenshot
Preformatted text
May I ask where you got the image names voting-app
, worker-app
and result-app
from? Was it in one of our courses?
yes it was from one of your courses.
Course name - Docker - SWARM | SERVICES | STACKS - Hands-on
Looks like we’re using a private repo in that course, which is why the images can’t be found.