aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-02-14 22:31:58 +0100
committerGitHub <noreply@github.com>2019-02-14 22:31:58 +0100
commit1a9128d1e4851df7c0316e0b861e70605fd262f6 (patch)
tree887ffe79dd00a78b118218541ea7373df083bfaf /docs
parent18bf883eeb08d7cb5bd1c999e43f1140be4f787d (diff)
parenta8b149b406e9565067c1f281e86071942123163e (diff)
downloadpodman-1a9128d1e4851df7c0316e0b861e70605fd262f6.tar.gz
podman-1a9128d1e4851df7c0316e0b861e70605fd262f6.tar.bz2
podman-1a9128d1e4851df7c0316e0b861e70605fd262f6.zip
Merge pull request #2320 from QiWang19/stdinPW
--password-stdin flag in `podman login`
Diffstat (limited to 'docs')
-rw-r--r--docs/podman-login.1.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/podman-login.1.md b/docs/podman-login.1.md
index e72d1deca..3ac0e30ef 100644
--- a/docs/podman-login.1.md
+++ b/docs/podman-login.1.md
@@ -25,6 +25,10 @@ flag. The default path used is **${XDG\_RUNTIME_DIR}/containers/auth.json**.
Password for registry
+**--password-stdin**
+
+Take the password from stdin
+
**--username, -u**
Username for registry
@@ -86,6 +90,16 @@ $ podman login --cert-dir /etc/containers/certs.d/ -u foo -p bar localhost:5000
Login Succeeded!
```
+```
+$ podman login -u testuser --password-stdin < testpassword.txt docker.io
+Login Succeeded!
+```
+
+```
+$ echo $testpassword | podman login -u testuser --password-stdin docker.io
+Login Succeeded!
+```
+
## SEE ALSO
podman(1), podman-logout(1), crio(8)