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  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.   All  the  cached credentials can be removed by setting
19       the all flag.
20
21

OPTIONS

23       See also skopeo(1) for options placed before the subcommand name.
24
25
26       --authfile=path
27
28
29       Path of the authentication file. Default is ${XDG_RUNTIME_DIR}/contain‐
30       ers/auth.json
31
32
33       Note: You can also override the default path of the authentication file
34       by setting the REGISTRY_AUTH_FILE  environment  variable.  export  REG‐
35       ISTRY_AUTH_FILE=path
36
37
38       --compat-auth-file=path
39
40
41       Instead  of  updating  the  default credentials file, update the one at
42       path, and use a Docker-compatible format.
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
57       --tls-verify=bool
58
59
60       Require HTTPS and verify certificates when  talking  to  the  container
61       registry or daemon. Default to registry.conf setting.
62
63

EXAMPLES

65       $ skopeo logout docker.io
66       Remove login credentials for docker.io
67
68
69       $ skopeo logout --authfile authdir/myauths.json docker.io
70       Remove login credentials for docker.io
71
72
73       $ skopeo logout --all
74       Remove login credentials for all registries
75
76
77

SEE ALSO

79       skopeo(1), skopeo-login(1), containers-auth.json(5)
80
81

HISTORY

83       May  2020,  Originally compiled by Qi Wang qiwan@redhat.com ⟨mailto:qi‐
84       wan@redhat.com⟩
85
86
87
88                                                            skopeo-logout(1)()
Impressum