Error:
$ docker pull uranagivinod/openjdk8:latest
Error response from daemon: pull access denied for
uranagivinod/openjdk8, repository does not exist or may require
'docker login': denied: requested access to the resource is
denied
Solution: The base image is not in the public Docker Hub repo. Try logging out of Docker and then logging back in.
Error:
> make sure your credentials for
'registry-1.docker.io/library/demo-springboot-docker-0001968' are set
up correctly.
Solution: The error is for the target image, not the base image. Check that your credentials for the Docker Hub repository are correct.
Solution:
Try logging out of Docker and then adding the following options when making a Maven build:
-D jib.to.auth.username="your-dockerhub-username" -Djib.to.auth.password="your-dockerhub-password"
Solution:
Prefix the Docker Hub site name with registry.hub.docker.com
in your pom.xml file.
<to> <image>registry.hub.docker.com/hkmehandiratta/${project.name}:${project.version}</image> </to>
Solution:
In the $USER/.docker/config.json
file, replace "credsStore": "desktop"
with "credStore":"desktop"
.
Solution:
Run docker logout
and then docker login
. Enter your username and password to solve the problem.