I'm getting started with docker so have created my account on docker hub with my gmail account, have creaeted even a repo there. Now I want to push my repo like:
docker push user_name/my_image:latest
I get the error:
9733ccc39513: Preparing
denied: requested access to the resource is denied
when searching, I found that I have to login to my account through the terminal. my problem is I have create my account with gmail, so when I tried this found command:
docker login --email [email protected]
I'm get back this error:
'unknown flag: --email'
Can you please advise something better to push a repo on docker hub?
docker login --email [email protected]
I'm get back this error:
'unknown flag: --email'
If your account was initially set up using Google, you'll need to generate an access token (docs) and use it as your password. Alternatively, you can set your password on the Account Settings page.
After obtaining your token or creating the password:
docker login -u your_username
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With