We will help you to understand how to log out from a Docker registry. We use “docker logout URL” command to logout from a docker registry.
docker logout URL
docker logout [SERVER]
$ docker logout localhost:8080 Removing login credentials for localhost:8080
To learn more about docker, Please refer given below link: