christian-korneck / docker-pushrm

"Docker Push Readme" - a Docker CLI plugin to update container repo docs
MIT License
140 stars 4 forks source link

Document limitation around personal access tokens #4

Closed m90 closed 4 years ago

m90 commented 4 years ago

I just tried using docker pushrm (which is a great thing), but ran into the limitation that apparently it requires me to turn off 2FA (which is documented) as well as using my proper password (instead of an access token for CI or similar) which is not documented.

I thought adding this info might be valuable for others when evaluating if they want to use this tool.


FWIW this is the error message that is returned when disabling 2FA but using an access token:

Server responded: "access to the resource is forbidden with personal access token"
christian-korneck commented 4 years ago

hi @m90, thanks a lot for this pr. Actually this is the same problem why 2FA auth doesn't work (if you have 2FA enabled you need to log in with a personal access token with the Docker CLI). I've consolidate the mention of the two limitations (2fa + personal access tokens) in docs/error msg/help into one.