mirror of https://github.com/docker/cli.git
Users have trouble understanding the different login paths on the CLI. The default login is performed through an OAuth flow with the option to fallback to a username and PAT login using the docker login -u <username> option. This patch improves the text around docker login, indicating: - The username is shown when already authenticated - Steps the user can take to switch user accounts are printed when authenticated in an info. - When not authenticated, the OAuth login flow explains the fallback clearly to the user in an info. - The password prompt now explicitly states that it accepts a PAT in an info. Signed-off-by: Alano Terblanche <18033717+Benehiko@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| commandline | ||
| builder.md | ||
| dockerd.md | ||
| glossary.md | ||
| index.md | ||
| run.md | ||