2015-06-21 13:41:38 -07:00
|
|
|
# logout
|
|
|
|
|
2023-01-06 19:04:05 +01:00
|
|
|
<!---MARKER_GEN_START-->
|
2022-04-01 15:32:55 +02:00
|
|
|
Log out from a registry.
|
2016-07-07 20:43:18 +02:00
|
|
|
If no server is specified, the default is defined by the daemon.
|
2015-06-21 13:41:38 -07:00
|
|
|
|
2023-01-06 19:04:05 +01:00
|
|
|
|
|
|
|
<!---MARKER_GEN_END-->
|
2015-10-03 17:56:41 +02:00
|
|
|
|
2017-02-07 15:42:48 -08:00
|
|
|
## Examples
|
2015-06-21 13:41:38 -07:00
|
|
|
|
2021-08-21 14:54:14 +02:00
|
|
|
```console
|
2017-02-07 15:42:48 -08:00
|
|
|
$ docker logout localhost:8080
|
|
|
|
```
|
2018-10-03 20:04:24 +02:00
|
|
|
|
|
|
|
## Related commands
|
|
|
|
|
|
|
|
* [login](login.md)
|