# logout

<!---MARKER_GEN_START-->
Log out from a registry.
If no server is specified, the default is defined by the daemon.


<!---MARKER_GEN_END-->

## Examples

```console
$ docker logout localhost:8080
```

## Related commands

* [login](login.md)
