Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • Not sure I understand your question? do you want to know if you are logged in on a terminal? why not run %docker images command in the terminal and see if your images show up?
    – noobuntu
    Commented Mar 15, 2016 at 21:54
  • 2
    I want to know whether I am logged in to dockerhub registry in terminal. I thought the images are local, so it will just show the local images, not the dockerhub images. Commented Mar 15, 2016 at 21:56
  • 1
    I believe once you are logged into docker, you are connected to your dockerhub registry. I don't think there is a separate login
    – noobuntu
    Commented Mar 15, 2016 at 22:01
  • 7
    docker info | grep Username this should display your current docker user. Hope helps
    – Austin p.b
    Commented Nov 23, 2021 at 21:05
  • Question stackoverflow.com/q/61098378/1548275 is related to this. If a credential helper is in use, the status can be queried via helper. Commented Feb 3, 2022 at 9:51