网易163 仓库 docker push 遇到denied: requested access to the resource is denied
问题场景:
$ docker push hub.c.163.com/eureka The push refers to repository [hub.c.163.com/eureka] f1afce45e297: Preparing a78d86126896: Preparing 30125717c842: Preparing 011b303988d2: Preparing denied: requested access to the resource is denied
我的问题是: hub.c.163.com/eureka push 路径有问题 没有按官方文档做
正确做法 : docker push hub.c.163.com/{你的用户名}/{标签名}
如我:加上我的用户名
docker push hub.c.163.com/wiz94nhz/eureka:v1.0
docker login -u nhz94259@163.com -p {你的网易云密码} hub.c.163.com
nhz94259@163.com