2015-06-21 16:41:38 -04:00
|
|
|
<!--[metadata]>
|
|
|
|
+++
|
|
|
|
title = "logout"
|
|
|
|
description = "The logout command description and usage"
|
|
|
|
keywords = ["logout, docker, registry"]
|
|
|
|
[menu.main]
|
|
|
|
parent = "smn_cli"
|
|
|
|
+++
|
|
|
|
<![end-metadata]-->
|
|
|
|
|
|
|
|
# logout
|
|
|
|
|
2016-07-07 14:43:18 -04:00
|
|
|
```markdown
|
|
|
|
Usage: docker logout [SERVER]
|
2015-06-21 16:41:38 -04:00
|
|
|
|
2016-07-07 14:43:18 -04:00
|
|
|
Log out from a Docker registry.
|
|
|
|
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
|
|
|
|
2015-06-21 16:41:38 -04:00
|
|
|
For example:
|
|
|
|
|
|
|
|
$ docker logout localhost:8080
|