1
0
mirror of https://github.com/docker/cli.git synced 2026-10-23 19:12:36 +03:00
Files
cli/docs/reference/commandline
Sebastiaan van Stijn fa65e9a3a0 internal/oauth: cleanup output
- Remove extra newline before message
- Include the token in the URL (instead of requiring the user to manually
  enter it on the website).
- Improve the "call to action"; ENTER can be used to automatically open
  the browser (but the user can manually open it instead), and CTRL-C can
  be used to cancel the login.
- Remove the "Waiting for authentication in the browser…" message, which
  could be confusing if no browser was opened (yet), instead print a message
  after successfully requesting the browser to be opened.

When running `docker login`;

    docker login

    i Info → Using web-based login. To sign in with credentials on the command line, use 'docker login -u <username>'

    Your one-time device confirmation code is: NRJL-BLRL
    Open this URL to authenticate: https://login.docker.com/activate?user_code=NRJL-BLRL

    Press ENTER to open the URL in your browser, or Ctrl+C to cancel.

After pressing `ENTER`, it either prints the "success" message;

    Press ENTER to open the URL in your browser, or Ctrl+C to cancel.

    Opening browser…

or a failure when unable to launch a browser;

    Press ENTER to open the URL in your browser, or Ctrl+C to cancel.

    No browser found. Open the URL above manually to continue.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2026-10-19 21:07:27 +02:00
..
2024-07-04 10:30:56 +02:00
2023-01-06 22:36:47 +01:00
2024-07-04 10:30:56 +02:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2026-05-14 03:34:23 +02:00
2023-01-06 22:36:47 +01:00
2024-07-04 10:30:56 +02:00
2024-07-04 10:30:56 +02:00
2026-05-14 03:06:23 +02:00
2024-07-04 10:30:56 +02:00
2024-07-04 10:30:56 +02:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2024-07-04 10:30:56 +02:00
2024-07-04 10:30:56 +02:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2024-07-04 10:30:56 +02:00
2024-10-10 17:00:43 +02:00
2026-05-14 03:06:23 +02:00
2026-05-14 03:06:23 +02:00
2026-02-08 18:10:21 +01:00
2023-01-06 22:36:47 +01:00
2026-10-19 21:07:27 +02:00
2023-01-06 22:36:47 +01:00
2024-07-04 10:30:56 +02:00
2023-01-06 22:36:47 +01:00
2024-07-04 10:30:56 +02:00
2024-07-04 10:30:56 +02:00
2024-07-04 10:30:56 +02:00
2023-01-06 22:36:47 +01:00
2024-07-04 10:30:56 +02:00
2024-07-04 10:30:56 +02:00
2024-07-04 10:30:56 +02:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2024-07-04 10:30:56 +02:00
2024-07-04 10:30:56 +02:00
2023-01-06 22:36:47 +01:00
2025-08-06 12:33:27 +02:00
2024-07-04 10:30:56 +02:00
2023-01-06 22:36:47 +01:00
2024-07-04 10:30:56 +02:00
2025-05-27 10:58:11 +02:00
2026-05-14 03:34:23 +02:00
2023-01-06 22:36:47 +01:00
2025-11-07 00:24:44 +01:00
2024-07-04 10:30:56 +02:00
2023-01-06 22:36:47 +01:00
2024-07-04 10:30:56 +02:00
2024-07-04 10:30:56 +02:00
2026-05-14 03:06:23 +02:00
2024-07-04 10:30:56 +02:00
2023-01-06 22:36:47 +01:00
2023-01-06 22:36:47 +01:00
2024-01-18 14:58:43 +01:00
2023-08-28 01:58:58 +02:00
2023-01-06 22:36:47 +01:00