diff options
author | Qi Wang <qiwan@redhat.com> | 2020-02-17 11:59:12 -0500 |
---|---|---|
committer | Qi Wang <qiwan@redhat.com> | 2020-02-18 15:30:49 -0500 |
commit | 4c135017b228280e1dd2bd6693fdf2edb44b682a (patch) | |
tree | fa2699dc5742f54a1c7d8535df554deb2ad3cfce /docs/source/markdown/podman-logout.1.md | |
parent | 5dacee93950a97ea14180bb86f21e462101fe5ea (diff) | |
download | podman-4c135017b228280e1dd2bd6693fdf2edb44b682a.tar.gz podman-4c135017b228280e1dd2bd6693fdf2edb44b682a.tar.bz2 podman-4c135017b228280e1dd2bd6693fdf2edb44b682a.zip |
fix mandatory parameter in login/logout
fix #5146
Insted of using a registry as mandatory parameter, this path allows podman to use the first registry from registries.conf.
Signed-off-by: Qi Wang <qiwan@redhat.com>
Diffstat (limited to 'docs/source/markdown/podman-logout.1.md')
-rw-r--r-- | docs/source/markdown/podman-logout.1.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/source/markdown/podman-logout.1.md b/docs/source/markdown/podman-logout.1.md index 01dc52ecd..8b9f75760 100644 --- a/docs/source/markdown/podman-logout.1.md +++ b/docs/source/markdown/podman-logout.1.md @@ -8,7 +8,8 @@ podman\-logout - Logout of a container registry ## DESCRIPTION **podman logout** logs out of a specified registry server by deleting the cached credentials -stored in the **auth.json** file. The path of the authentication file can be overridden by the user by setting the **authfile** flag. +stored in the **auth.json** file. If the registry is not specified, the first registry under [registries.search] +from registries.conf will be used. The path of the authentication file can be overridden by the user by setting the **authfile** flag. The default path used is **${XDG\_RUNTIME\_DIR}/containers/auth.json**. All the cached credentials can be removed by setting the **all** flag. |