1podman-logout(1)()                                          podman-logout(1)()
2
3
4

NAME

6       podman-logout - Logout of a container registry
7
8

SYNOPSIS

10       podman logout [options] registry
11
12

DESCRIPTION

14       podman  logout  logs out of a specified registry server by deleting the
15       cached credentials stored in the auth.json file. If the registry is not
16       specified,  the  first  registry  under  [registries.search]  from reg‐
17       istries.conf will be used. The path of the authentication file  can  be
18       overridden  by the user by setting the authfile flag.  The default path
19       used is ${XDG_RUNTIME_DIR}/containers/auth.json.  All the  cached  cre‐
20       dentials can be removed by setting the all flag.
21
22
23       podman [GLOBAL OPTIONS]
24
25
26       podman logout [GLOBAL OPTIONS]
27
28
29       podman logout [OPTIONS] REGISTRY [GLOBAL OPTIONS]
30
31

OPTIONS

33       --authfile=path
34
35
36       Path of the authentication file. Default is ${XDG_RUNTIME_DIR}/contain‐
37       ers/auth.json (Not available for remote commands)
38
39
40       Note: You can also override the default path of the authentication file
41       by  setting  the  REGISTRY_AUTH_FILE  environment variable. export REG‐
42       ISTRY_AUTH_FILE=path
43
44
45       --all, -a
46
47
48       Remove the cached credentials for all registries in the auth file
49
50
51       --help, -h
52
53
54       Print usage statement
55
56

EXAMPLES

58              $ podman logout docker.io
59              Remove login credentials for https://registry-1.docker.io/v2/
60
61
62
63              $ podman logout --authfile authdir/myauths.json docker.io
64              Remove login credentials for https://registry-1.docker.io/v2/
65
66
67
68              $ podman logout --all
69              Remove login credentials for all registries
70
71
72

SEE ALSO

74       podman(1), podman-login(1)
75
76

HISTORY

78       August 2017, Originally compiled by Urvashi Mohnani umohnani@redhat.com
79       ⟨mailto:umohnani@redhat.com⟩
80
81
82
83                                                            podman-logout(1)()
Impressum