1skopeo-logout(1)()                                          skopeo-logout(1)()
2
3
4

NAME

6       skopeo-logout - Logout of a container registry.
7
8

SYNOPSIS

10       skopeo logout [options] registry
11
12

DESCRIPTION

14       skopeo  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

OPTIONS

23       --authfile=path
24
25
26       Path of the authentication file. Default is ${XDG_RUNTIME_DIR}/contain‐
27       ers/auth.json
28
29
30       Note: You can also override the default path of the authentication file
31       by setting the REGISTRY_AUTH_FILE  environment  variable.  export  REG‐
32       ISTRY_AUTH_FILE=path
33
34
35       --all, -a
36
37
38       Remove the cached credentials for all registries in the auth file
39
40
41       --help, -h
42
43
44       Print usage statement
45
46

EXAMPLES

48              $ skopeo logout docker.io
49              Remove login credentials for docker.io
50
51
52
53              $ skopeo logout --authfile authdir/myauths.json docker.io
54              Remove login credentials for docker.io
55
56
57
58              $ skopeo logout --all
59              Remove login credentials for all registries
60
61
62

SEE ALSO

64       skopeo(1), skopeo-login(1), containers-auth.json(5)
65
66

HISTORY

68       May   2020,   Originally   compiled   by   Qi   Wang   qiwan@redhat.com
69       ⟨mailto:qiwan@redhat.com⟩
70
71
72
73                                                            skopeo-logout(1)()
Impressum