2016-10-14 18:30:36 -04:00
|
|
|
---
|
|
|
|
title: "logout"
|
|
|
|
description: "The logout command description and usage"
|
2016-11-03 18:48:30 -04:00
|
|
|
keywords: "logout, docker, registry"
|
2016-10-14 18:30:36 -04:00
|
|
|
---
|
2015-06-21 16:41:38 -04:00
|
|
|
|
|
|
|
# logout
|
|
|
|
|
2016-07-07 14:43:18 -04:00
|
|
|
```markdown
|
|
|
|
Usage: docker logout [SERVER]
|
2015-06-21 16:41:38 -04:00
|
|
|
|
2022-04-01 09:32:55 -04:00
|
|
|
Log out from a registry.
|
2016-07-07 14:43:18 -04:00
|
|
|
If no server is specified, the default is defined by the daemon.
|
2015-06-21 16:41:38 -04:00
|
|
|
|
2016-07-07 14:43:18 -04:00
|
|
|
Options:
|
|
|
|
--help Print usage
|
|
|
|
```
|
2015-10-03 11:56:41 -04:00
|
|
|
|
2017-02-07 18:42:48 -05:00
|
|
|
## Examples
|
2015-06-21 16:41:38 -04:00
|
|
|
|
2021-08-21 08:54:14 -04:00
|
|
|
```console
|
2017-02-07 18:42:48 -05:00
|
|
|
$ docker logout localhost:8080
|
|
|
|
```
|
2018-10-03 14:04:24 -04:00
|
|
|
|
|
|
|
## Related commands
|
|
|
|
|
|
|
|
* [login](login.md)
|