Docker Community Forums

Share and learn in the Docker community.

Error pushing to registry: Authentication is required (logged in twice)


(Jeanepaul) #1

Greetings,

I know it has been asked this forums several times, but I still can’t get it working

-> % docker push jeanepaul/news_aggregator_n:latest
The push refers to a repository [jeanepaul/news_aggregator_n] (len: 1)
65518bfec28e: Image push failed

Please login prior to push:
Username (jeanepaul): jeanepaul
WARNING: login credentials saved in /Users/jeanepaul/.docker/config.json
Login Succeeded
The push refers to a repository [jeanepaul/news_aggregator_n] (len: 1)
65518bfec28e: Image push failed
Error pushing to registry: Authentication is required

(Sabin Basyal) #2

For some reason, your repository was locked. We unlocked it for you and now you should be able to push. Let us know if you have any problem.


(Jeanepaul) #3

Greetings,

thanks for that, btw, lately everytime I push new repo on the hub, it would automatically be private even though I only have 1 private repo.


(Sabin Basyal) #4

Hi,

Your default repository is set as Private. Please change it toPublic and then push. It will make sure that when you push any repository, the visibility is Public.
You can do it from here.


(Jeanepaul) #5

Greetings,

awesome! thanks!