Docker Registry and Delivery

docker logout

Remove stored authentication for a registry. Does not guarantee revocation of a token at its issuer. Local logout does not establish server-side revocation.

Formal Syntax & Structure

docker syntaxdocker
docker logout [SERVER]

Return Value

CLI operation

Exit status indicates command outcome; verify the intended state separately.

Working Example

Example Snippetdocker
docker logout registry.example.com
Docker Reference