我需要更改我正在将图像推送到的Docker Hub帐户.我用docker login更新我.dockercfg则跑到文件以下(account,image,和tag充当我的实际值一般占位符):
docker push account/image:tag
我立即得到以下错误:
The push refers to a repository [account/image] (len: 1)
Sending image list
2014/12/11 21:26:59 Error: Status 400 trying to push repository repo/image:
"Access denied: <hash> is a private image" docker push account/image:tag
returned exit code 1action docker push repo/image:tag failed
Run Code Online (Sandbox Code Playgroud)
我试图推送到docker hub上的私有存储库,但我已经检查过我的auth匹配了.为什么会失败,我该如何解决?