2018-05-29 17:18:34 +00:00
|
|
|
% podman-logout "1"
|
2017-11-01 15:24:59 +00:00
|
|
|
|
|
|
|
## NAME
|
2018-04-26 13:21:11 +00:00
|
|
|
podman\-logout - Logout of a container registry
|
2017-11-01 15:24:59 +00:00
|
|
|
|
|
|
|
## SYNOPSIS
|
2018-06-29 17:53:33 +00:00
|
|
|
**podman logout** [*options*] *registry*
|
2017-11-01 15:24:59 +00:00
|
|
|
|
|
|
|
## DESCRIPTION
|
2017-12-15 21:58:36 +00:00
|
|
|
**podman logout** logs out of a specified registry server by deleting the cached credentials
|
2018-01-29 12:30:53 +00:00
|
|
|
stored in the **auth.json** file. The path of the authentication file can be overridden by the user by setting the **authfile** flag.
|
2017-11-01 15:24:59 +00:00
|
|
|
The default path used is **${XDG\_RUNTIME_DIR}/containers/auth.json**.
|
|
|
|
All the cached credentials can be removed by setting the **all** flag.
|
|
|
|
|
2017-12-15 21:58:36 +00:00
|
|
|
**podman [GLOBAL OPTIONS]**
|
2017-11-01 15:24:59 +00:00
|
|
|
|
2017-12-15 21:58:36 +00:00
|
|
|
**podman logout [GLOBAL OPTIONS]**
|
2017-11-01 15:24:59 +00:00
|
|
|
|
2017-12-15 21:58:36 +00:00
|
|
|
**podman logout [OPTIONS] REGISTRY [GLOBAL OPTIONS]**
|
2017-11-01 15:24:59 +00:00
|
|
|
|
|
|
|
## OPTIONS
|
|
|
|
|
|
|
|
**--authfile**
|
2018-06-14 15:44:39 +00:00
|
|
|
|
2017-11-01 15:24:59 +00:00
|
|
|
Path of the authentication file. Default is ${XDG_\RUNTIME\_DIR}/containers/auth.json
|
|
|
|
|
|
|
|
**--all, -a**
|
2018-06-14 15:44:39 +00:00
|
|
|
|
2017-11-01 15:24:59 +00:00
|
|
|
Remove the cached credentials for all registries in the auth file
|
|
|
|
|
2018-06-29 17:53:33 +00:00
|
|
|
**--help**, **-h**
|
|
|
|
|
|
|
|
Print usage statement
|
|
|
|
|
2017-11-01 15:24:59 +00:00
|
|
|
## EXAMPLES
|
|
|
|
|
|
|
|
```
|
2017-12-15 21:58:36 +00:00
|
|
|
# podman logout docker.io
|
2017-11-01 15:24:59 +00:00
|
|
|
Remove login credentials for https://registry-1.docker.io/v2/
|
|
|
|
```
|
|
|
|
|
|
|
|
```
|
2017-12-15 21:58:36 +00:00
|
|
|
# podman logout --authfile authdir/myauths.json docker.io
|
2017-11-01 15:24:59 +00:00
|
|
|
Remove login credentials for https://registry-1.docker.io/v2/
|
|
|
|
```
|
|
|
|
|
|
|
|
```
|
2017-12-15 21:58:36 +00:00
|
|
|
# podman logout --all
|
2017-11-01 15:24:59 +00:00
|
|
|
Remove login credentials for all registries
|
|
|
|
```
|
|
|
|
|
|
|
|
## SEE ALSO
|
2018-03-12 14:00:14 +00:00
|
|
|
podman(1), podman-login(1), crio(8)
|
2017-11-01 15:24:59 +00:00
|
|
|
|
|
|
|
## HISTORY
|
|
|
|
August 2017, Originally compiled by Urvashi Mohnani <umohnani@redhat.com>
|