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       --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
47       --tls-verify=bool
48
49
50       Require  HTTPS  and  verify  certificates when talking to the container
51       registry or daemon. Default to registry.conf setting.
52
53

EXAMPLES

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

SEE ALSO

71       skopeo(1), skopeo-login(1), containers-auth.json(5)
72
73

HISTORY

75       May 2020, Originally compiled by Qi Wang  qiwan@redhat.com  ⟨mailto:qi‐
76       wan@redhat.com⟩
77
78
79
80                                                            skopeo-logout(1)()
Impressum