How to know if docker is already logged in to a docker registry server

后端 未结 13 2514
后悔当初
后悔当初 2020-12-23 02:49

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 tryi

13条回答
  •  悲哀的现实
    2020-12-23 03:23

    Just checked, today it looks like this:

    $ docker login
    Authenticating with existing credentials...
    Login Succeeded
    

    NOTE: this is on a macOS with the latest version of Docker CE, docker-credential-helper - both installed with homebrew.

提交回复
热议问题