title: How to know if docker is already logged in to a docker registry server
body: <p>I'm not sure if I have already logged in to a docker registry in cmd line by using cmd: docker login. How can you test or see whether you are logged in or not, without trying to push?</p>