docker unauthorized: authentication required - upon push with successful login

前端 未结 24 3633
隐瞒了意图╮
隐瞒了意图╮ 2020-11-28 06:21

While pushing the docker image (after successful login) from my host I am getting \"unauthorized: authentication required\".

Details below.

-bash-4.         


        
24条回答
  •  一整个雨季
    2020-11-28 06:45

    Here the solution for my case ( private repos, free account plan)

    https://success.docker.com/Datacenter/Solve/Getting_%22unauthorized%3A_authentication_required%22_when_trying_to_push_image_to_DTR

    The image build name to push has to have the same name of the repos.

    Example: repos on docker hub is: accountName/resposName image build name "accountName/resposName" -> docker build -t accountName/resposName

    then type docker push accountName/resposName:latest

    That's all.

提交回复
热议问题