繁体   English   中英

Docker请求访问资源被拒绝

[英]Docker requested access to the resource is denied

我已经读过拒绝:请求访问资源被拒绝:docker和我做同样但访问仍然被拒绝。

docker tag my_image my_name/rep:tag
docker push my_name/rep:tag

但我明白了

denied: requested access to the resource is denied

我想问题出在了

docker login

如果我输入错误的密码,我会得到

incorrect username or password

如果我输入正确的密码,我会得到 在此输入图像描述 我没有看到

login succeeded

我试过了

docker login -u username -p password

得到

Using --password via the CLI is insecure. Use --password-stdin 

我尝试使用--password-stdin并获得相同的结果

  • 我使用的是Windows 8和Docker版本18.09.3

我使用Git Bash - 感谢@michalk通过Git Bash看来

$ docker login -u usename -p password
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
WARNING! Your password will be stored unencrypted in C:\Users\..............docker\config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store

Login Succeeded

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM