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. The path of the
16 authentication file can be overridden by the user by setting the auth‐
17 file flag. The default path used is ${XDG_RUNTIME_DIR}/contain‐
18 ers/auth.json. All the cached credentials can be removed by setting
19 the all flag.
20
21
22 podman [GLOBAL OPTIONS]
23
24
25 podman logout [GLOBAL OPTIONS]
26
27
28 podman logout [OPTIONS] REGISTRY [GLOBAL OPTIONS]
29
30
32 --authfile=path
33
34
35 Path of the authentication file. Default is ${XDG_RUNTIME_DIR}/contain‐
36 ers/auth.json (Not available for remote commands)
37
38
39 Note: You can also override the default path of the authentication file
40 by setting the REGISTRY_AUTH_FILE environment variable. export REG‐
41 ISTRY_AUTH_FILE=path
42
43
44 --all, -a
45
46
47 Remove the cached credentials for all registries in the auth file
48
49
50 --help, -h
51
52
53 Print usage statement
54
55
57 $ podman logout docker.io
58 Remove login credentials for https://registry-1.docker.io/v2/
59
60
61
62 $ podman logout --authfile authdir/myauths.json docker.io
63 Remove login credentials for https://registry-1.docker.io/v2/
64
65
66
67 $ podman logout --all
68 Remove login credentials for all registries
69
70
71
73 podman(1), podman-login(1)
74
75
77 August 2017, Originally compiled by Urvashi Mohnani umohnani@redhat.com
78 ⟨mailto:umohnani@redhat.com⟩
79
80
81
82 podman-logout(1)()