Fix up example description of podman-logout.1.md.in

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
Daniel J Walsh 2024-02-17 13:36:24 -05:00
parent 6c7f987ab3
commit fe910ae96d
No known key found for this signature in database
GPG Key ID: A2DF901DABE2C028
2 changed files with 10 additions and 10 deletions

View File

@ -69,15 +69,15 @@ print detailed information about credential store
## EXAMPLES
Add login credentials for specified registry to the default authorization file.
Add login credentials for specified registry to default authentication file.
```
$ podman login docker.io
$ podman login quay.io
Username: umohnani
Password:
Login Succeeded!
```
Add login credentials using specified username and password for local registry to the default authorization file.
Add login credentials using specified username and password for local registry to default authentication file.
```
$ podman login -u testuser -p testpassword localhost:5000
Login Succeeded!
@ -111,19 +111,19 @@ $ podman login --cert-dir /etc/containers/certs.d/ -u foo -p bar localhost:5000
Login Succeeded!
```
Add login credentials for docker.io into the default authorization file for user testuser with password information provided via stdin from a file on disk.
Add login credentials for specified registries to default authentication file for given user with password information provided via stdin from a file on disk.
```
$ podman login -u testuser --password-stdin < testpassword.txt docker.io
Login Succeeded!
```
Add login credentials for docker.io into the default authorization file for user testuser with password information provided via stdin from a pipe.
Add login credentials for specified registry to default authentication file for given user with password information provided via stdin from a pipe.
```
$ echo $testpassword | podman login -u testuser --password-stdin docker.io
$ echo $testpassword | podman login -u testuser --password-stdin quay.io
Login Succeeded!
```
Add login credentials for the quay.io registry in verbose mode default authorization file.
Add login credentials for specified registry to default authentication file in verbose mode.
```
$ podman login quay.io --verbose
Username: myusername

View File

@ -37,17 +37,17 @@ Print usage statement
## EXAMPLES
Remove login credentials for the docker.io registry from the authorization file
Remove login credentials for the docker.io registry from the authentication file:
```
$ podman logout docker.io
```
Remove login credentials for the docker.io registry from the authdir/myauths.json file.
Remove login credentials for the docker.io registry from the authdir/myauths.json file:
```
$ podman logout --authfile authdir/myauths.json docker.io
```
Remove login credentials for all registries.
Remove login credentials for all registries:
```
$ podman logout --all
```