mirror of
https://github.com/docker/docs.git
synced 2026-06-19 07:35:16 +00:00
cli: sync docs with docker/cli v29.6.0
This commit is contained in:
Generated
+8
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user