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
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       buildah [GLOBAL OPTIONS]
23
24
25       buildah logout [GLOBAL OPTIONS]
26
27
28       buildah logout [OPTIONS] REGISTRY [GLOBAL OPTIONS]
29
30

OPTIONS

32       --authfile
33
34
35       Path of the authentication file.  Default  is  ${XDG_\RUNTIME_DIR}/con‐
36       tainers/auth.json
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

EXAMPLES

57              $ buildah logout docker.io
58              Removed login credentials for docker.io
59
60
61
62              $ buildah logout --authfile authdir/myauths.json docker.io
63              Removed login credentials for docker.io
64
65
66
67              $ buildah logout --all
68              Remove login credentials for all registries
69
70
71

SEE ALSO

73       buildah(1), buildah-login(1)
74
75
76
77buildah                            Apr 2019                  buildah-logout(1)
Impressum