2016-10-14 15:30:36 -07:00
|
|
|
---
|
|
|
|
title: "logout"
|
|
|
|
description: "The logout command description and usage"
|
2016-11-03 15:48:30 -07:00
|
|
|
keywords: "logout, docker, registry"
|
2016-10-14 15:30:36 -07:00
|
|
|
---
|
2015-06-21 13:41:38 -07:00
|
|
|
|
|
|
|
# logout
|
|
|
|
|
2016-07-07 20:43:18 +02:00
|
|
|
```markdown
|
|
|
|
Usage: docker logout [SERVER]
|
2015-06-21 13:41:38 -07:00
|
|
|
|
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
|
|
|
|
2016-07-07 20:43:18 +02:00
|
|
|
Options:
|
|
|
|
--help Print usage
|
|
|
|
```
|
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)
|