cli: sync docs with docker/cli v29.6.0

This commit is contained in:
github-actions[bot]
2026-06-19 03:22:12 +00:00
parent 543a863dcd
commit f3081ace1a
+8 -1
View File
@@ -158,7 +158,7 @@ options:
- option: password
shorthand: p
value_type: string
description: Password or Personal Access Token (PAT)
description: Password or Personal Access Token (PAT), or `-` to read from stdin
deprecated: false
hidden: false
experimental: false
@@ -272,6 +272,13 @@ examples: |-
```console
$ cat ~/my_password.txt | docker login --username foo --password-stdin
```
You can also pass `-` as the value for `--password` or `-p` to read the
password from `STDIN`.
```console
$ cat ~/my_password.txt | docker login --username foo --password -
```
deprecated: false
hidden: false
experimental: false