1buildah-logout(1) General Commands Manual buildah-logout(1)
2
3
4
6 buildah-logout - Logout of a container registry
7
8
10 buildah logout [options] registry
11
12
14 buildah logout logs out of a specified registry server by deleting the
15 cached credentials stored in the auth.json file. The path of the au‐
16 thentication file can be overridden by the user by setting the authfile
17 flag. The default path used is ${XDG_RUNTIME_DIR}/contain‐
18 ers/auth.json. If XDG_RUNTIME_DIR is not set, the default is /run/con‐
19 tainers/$UID/auth.json. All the cached credentials can be removed by
20 setting the all flag.
21
22
23 buildah [GLOBAL OPTIONS]
24
25
26 buildah logout [GLOBAL OPTIONS]
27
28
29 buildah logout [OPTIONS] REGISTRY [GLOBAL OPTIONS]
30
31
33 --all, -a
34
35
36 Remove the cached credentials for all registries in the auth file
37
38
39 --authfile
40
41
42 Path of the authentication file. Default is ${XDG_\RUNTIME_DIR}/con‐
43 tainers/auth.json. If XDG_RUNTIME_DIR is not set, the default is
44 /run/containers/$UID/auth.json.
45
46
47 Note: You can also override the default path of the authentication file
48 by setting the REGISTRY_AUTH_FILE environment variable. export REG‐
49 ISTRY_AUTH_FILE=path
50
51
52 --help, -h
53
54
55 Print usage statement
56
57
59 $ buildah logout quay.io
60 Removed login credentials for quay.io
61
62
63
64 $ buildah logout --authfile authdir/myauths.json quay.io
65 Removed login credentials for quay.io
66
67
68
69 $ buildah logout --all
70 Remove login credentials for all registries
71
72
73
75 buildah(1), buildah-login(1)
76
77
78
79buildah Apr 2019 buildah-logout(1)