I've read denied: requested access to the resource is denied : docker and I do the same but the access is still denied.
docker tag my_image my_name/rep:tag
docker push my_name/rep:tag
But i get
denied: requested access to the resource is denied
I guess the problem is in
docker login
if I enter incorrect password I get
incorrect username or password
if I enter correct password I get I do not see
login succeeded
I tried
docker login -u username -p password
and get
Using --password via the CLI is insecure. Use --password-stdin
I try use --password-stdin and get the same
I use Git Bash
- thanks @michalk Through Git Bash
it seems
$ 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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.