docker push error “denied: requested access to the resource is denied”

The solution is simply to change the way of logging in at step (1).

docker login -u janedoe -p <password>

Everything else can stay the way described above. The image was successfully pushed to Docker Hub!

Leave a Comment