cli/docs/reference
Alano Terblanche 6d7afd48a4
login: improve text on already authenticated and on OAuth login
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>
2025-02-05 12:32:24 +01:00
..
commandline login: improve text on already authenticated and on OAuth login 2025-02-05 12:32:24 +01:00
builder.md docs: dockerfile reference moved to buildkit repo 2022-06-27 11:51:46 +02:00
dockerd.md docs, man: remove --allow-nondistributable-artifacts flag 2025-01-04 15:18:03 +01:00
glossary.md docs: remove AuFS from glossary 2023-05-19 10:17:37 +02:00
index.md docs: update url scheme for reference docs 2024-02-20 21:38:50 +01:00
run.md docs: Correct `run` exit code 126 description 2024-11-04 00:21:33 +00:00