1podman-logout(1)() podman-logout(1)()
2
3
4
6 podman-logout - Logout of a container registry
7
8
10 podman logout [options] registry
11
12
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. For more details about
20 format and configurations of the auth,json file, please refer to con‐
21 tainers-auth.json(5) All the cached credentials can be removed by set‐
22 ting the all flag.
23
24
25 podman [GLOBAL OPTIONS]
26
27
28 podman logout [GLOBAL OPTIONS]
29
30
31 podman logout [OPTIONS] REGISTRY [GLOBAL OPTIONS]
32
33
35 --all, -a
36 Remove the cached credentials for all registries in the auth file
37
38
39 --authfile=path
40 Path of the authentication file. Default is ${XDG_RUNTIME_DIR}/contain‐
41 ers/auth.json.
42
43
44 Note: You can also override the default path of the authentication file
45 by setting the REGISTRY_AUTH_FILE environment variable. export REG‐
46 ISTRY_AUTH_FILE=path
47
48
49 --help, -h
50 Print usage statement
51
52
54 $ podman logout docker.io
55 Remove login credentials for https://registry-1.docker.io/v2/
56
57
58
59 $ podman logout --authfile authdir/myauths.json docker.io
60 Remove login credentials for https://registry-1.docker.io/v2/
61
62
63
64 $ podman logout --all
65 Remove login credentials for all registries
66
67
68
70 podman(1), podman-login(1), containers-auth.json(5)
71
72
74 August 2017, Originally compiled by Urvashi Mohnani umohnani@redhat.com
75 ⟨mailto:umohnani@redhat.com⟩
76
77
78
79 podman-logout(1)()