我已经读过denied: 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并获得相同的结果
答案 0 :(得分:0)
我使用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