1buildah-logout(1)           General Commands Manual          buildah-logout(1)
2
3
4

NAME

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

SYNOPSIS

10       buildah logout [options] registry
11
12

DESCRIPTION

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

OPTIONS

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/user/$UID/containers/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       --compat-auth-file=path
53
54
55       Instead  of  updating  the  default credentials file, update the one at
56       path, and use a Docker-compatible format.
57
58
59       --help, -h
60
61
62       Print usage statement
63
64

EXAMPLES

66              $ buildah logout quay.io
67              Removed login credentials for quay.io
68
69
70
71              $ buildah logout --authfile authdir/myauths.json quay.io
72              Removed login credentials for quay.io
73
74
75
76              $ buildah logout --all
77              Remove login credentials for all registries
78
79
80

SEE ALSO

82       buildah(1), buildah-login(1)
83
84
85
86buildah                            Apr 2019                  buildah-logout(1)
Impressum