[root@c720120 docker]# docker login
Login with your Docker ID to push and pull images from Docker Hub. If you don't have a Docker ID, head over to https://hub.docker.com to create one.
Username: mike0405
Password:
WARNING! Your password will be stored unencrypted in /root/.docker/config.json.
Configure a credential helper to remove this warning. See
https://docs.docker.com/engine/reference/commandline/login/#credentials-store
Login Succeeded (3)然后把我们登录的凭据存入了以下位置。
例:[root@c720120 .docker]# docker search postgres
NAME DESCRIPTION STARS OFFICIAL AUTOMATED
postgres The PostgreSQL object-relational database sy… 4979 [OK]
sameersbn/postgresql 130 [OK]
paintedfox/postgresql A docker image for running Postgresql. 77 [OK]
orchardup/postgresql https://github.com/orchardup/docker-postgres… 44 [OK]
kiasaki/alpine-postgres PostgreSQL docker image based on Alpine Linux 41 [OK]
centos/postgresql-96-centos7 PostgreSQL is an advanced Object-Relational … 19
bitnami/postgresql Bitnami PostgreSQL Docker Image 18 [OK]
begriffs/postgrest Moved to https://hub.docker.com/r/postgrest/… 16 [OK]
centos/postgresql-94-centos7 PostgreSQL is an advanced Object-Relational … 15
crunchydata/crunchy-postgres Crunchy PostgreSQL is an open source, unmodi… 11
wrouesnel/postgres_exporter Postgres metrics exporter for Prometheus. 8
clkao/postgres-plv8 Docker image for running PLV8 1.4 on Postgre… 7 [OK]