How to login to Docker registry commandline
We need to login to Docker registry in-order to pull and use imaged from private repositories.
To login to the docker hub registry,
#docker login
This will ask for the username and password as the standard input.
To login any registries other than docker hub,
#docker login SERVER
Where server need to be replaced with the docker registry endpoint.
This will ask for the username and password as the standard input.
That's all…