[英]denied: requested access to the resource is denied in Ubuntu
I am using ubuntu 16.04 in virtual box.我在虚拟框中使用 ubuntu 16.04。 I have successfully install Docker
Docker version 20.10.5, build 55c4c88
我已经成功安装 Docker
Docker version 20.10.5, build 55c4c88
I have try all commands to push my image docker hub but failed.我已尝试所有命令来推送我的图像 docker 集线器但失败了。 Every time I got same issue
denied: requested access to the resource is denied
每次我遇到相同的问题时
denied: requested access to the resource is denied
please help me out....请帮帮我....
It is clear from the error denied: requested access to the resource is denied
means you do not have the permission to push.从错误
denied: requested access to the resource is denied
意味着您没有推送权限。 So first you need to get the permission to push.所以首先你需要获得推送的权限。 And to do that, before pushing to docker hub, you need to do:
为此,在推送到 docker 集线器之前,您需要执行以下操作:
docker login --username=<your_docker_hub_username>
and then:接着:
docker push <your_docker_hub_name>/<your_image_name>:<image_tag>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.