[root@localhost network-scripts]# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
hello-world latest feb5d9fea6a5 10 months ago 13.3kB
[root@localhost network-scripts]# docker images -a
REPOSITORY TAG IMAGE ID CREATED SIZE
redis latest 7614ae9453d1 7 months ago 113MB
mysql latest 3218b38490ce 7 months ago 516MB
hello-world latest feb5d9fea6a5 10 months ago 13.3kB
[root@localhost network-scripts]# docker images -q
7614ae9453d1
3218b38490ce
feb5d9fea6a5
[root@localhost network-scripts]# docker images -qa
7614ae9453d1
3218b38490ce
feb5d9fea6a5
查询docker镜像
[root@localhost network-scripts]# docker search redis
NAME DESCRIPTION STARS OFFICIAL AUTOMATED
redis Redis is an open source key-value store that… 11200 [OK]
bitnami/redis Bitnami Redis Docker Image
[root@localhost network-scripts]# docker search redis --limit 3
NAME DESCRIPTION STARS OFFICIAL AUTOMATED
redis Redis is an open source key-value store that… 11200 [OK]
redis/redis-stack redis-stack installs a Redis server with add… 10
redis/redis-stack-server redis-stack-server installs a Redis server w… 8