denied: requested access to the resource is denied

使用 docker push 镜像时,出现 denied: requested access to the resource is denied

原因和 Git push 代码一样,为了安全起见,在 Docker Hub 无法确定操作者的情况下,是无法完成 push 操作的。

需要使用 docker login 登录即可, 再使用 docker push 镜像就行

docker login -u 用户名 -p 密码 IP地址
原文地址:https://www.cnblogs.com/luochunxi/p/15432031.html