1podman-logout(1) General Commands Manual 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
17 authfile flag. The default path used is
18 ${XDG_RUNTIME_DIR}/containers/auth.json. All the cached credentials
19 can be removed by setting 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
33
34
35 Path of the authentication file. Default is
36 ${XDG_\RUNTIME_DIR}/containers/auth.json (Not available for remote
37 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
42 REGISTRY_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
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
74 podman(1), podman-login(1)
75
76
78 August 2017, Originally compiled by Urvashi Mohnani
79 ⟨umohnani@redhat.com⟩
80
81
82
83 podman-logout(1)