【Docker镜像搜索与拉取】

一、下载docker镜像

[root@bogon ~]# docker pull docker.io/zookeeper

Using default tag: latest

Trying to pull repository docker.io/library/zookeeper ... 

latest: Pulling from docker.io/library/zookeeper

8e3ba11ec2a2: Already exists 

311ad0da4533: Already exists 

391a6a6b3651: Already exists 

104bcdeaa0fa: Pull complete 

247fd3ae138c: Pull complete 

a3e5e808141a: Pull complete 

扫描二维码关注公众号,回复: 3014550 查看本文章

854e724820af: Pull complete 

Digest: sha256:7a4dc6cfc0ed2445530eb9225b138463addfaad9ec90a33c32829363059d2226

Status: Downloaded newer image for docker.io/zookeeper:latest

[root@bogon ~]# 



 

二、列出Docker镜像

[root@bogon ~]# df -h        

Filesystem               Size  Used Avail Use% Mounted on

/dev/mapper/centos-root   17G  7.3G  9.8G  43% /

devtmpfs                 233M     0  233M   0% /dev

tmpfs                    245M     0  245M   0% /dev/shm

tmpfs                    245M  4.9M  240M   3% /run

tmpfs                    245M     0  245M   0% /sys/fs/cgroup

/dev/sda1               1014M  130M  885M  13% /boot

tmpfs                     49M     0   49M   0% /run/user/0

[root@bogon ~]# docker images

REPOSITORY                             TAG                 IMAGE ID            CREATED             SIZE

docker.io/haproxy                      latest              0e70860c9b84        2 days ago          69.5 MB

docker.io/nginx                        latest              71c43202b8ac        3 days ago          109 MB

docker.io/mongo-express                latest              d3f93978bf53        8 days ago          97.2 MB

docker.io/mongo                        latest              a41c82c0998a        9 days ago          380 MB

docker.io/kibana                       latest              1f30aec345e3        9 days ago          390 MB

docker.io/elasticsearch                latest              097d037f8ff8        9 days ago          486 MB

docker.io/resin/rpi-raspbian           latest              365783567b86        2 weeks ago         126 MB

docker.io/jetty                        latest              07b6d9a3f5d2        2 weeks ago         453 MB

docker.io/mysql                        latest              29e0ae3b69b9        2 weeks ago         484 MB

docker.io/zookeeper                    latest              29d319df9c13        2 weeks ago         149 MB

docker.io/redis                        latest              4e8db158f18d        4 weeks ago         83.4 MB

docker.io/wurstmeister/kafka           latest              e4c6cedf70f9        4 weeks ago         312 MB

docker.io/storm                        latest              0adcd94d5ef3        7 weeks ago         314 MB

docker.io/million12/varnish            latest              d4b511cda342        4 months ago        309 MB

docker.io/zeusxiao/static-dev-server   latest              ab422d1a9e84        13 months ago       682 MB

docker.io/tomcat                       8.5.16              b226d7ee3462        13 months ago       292 MB

docker.io/longhronshens/mycat-docker   latest              f9a4ece7c742        13 months ago       793 MB

docker.io/airdock/oracle-jdk           latest              c64f85af84fa        16 months ago       533 MB

docker.io/java                         latest              d23bdf5b1b1b        19 months ago       643 MB

docker.io/sebp/lighttpd                latest              6b681cc70957        22 months ago       8.53 MB

[root@bogon ~]# shutdown  -h now



 

猜你喜欢

转载自gaojingsong.iteye.com/blog/2429923