Docker 安装 Zookeeper

 

[root@localhost ~]# docker pull zookeeper
Using default tag: latest
latest: Pulling from library/zookeeper
68ced04f60ab: Already exists 
4874c5772968: Pull complete 
1036c6da18fe: Pull complete 
91a28e49706a: Pull complete 
493d020c97b2: Pull complete 
0608ac18b7bd: Pull complete 
e3602b3be15f: Pull complete 
5b9f8d3adfc2: Pull complete 
Digest: sha256:a8003722a5d8886a4c10e217d194c168cee1291cd0287a2b7d7af58476e84f03
Status: Downloaded newer image for zookeeper:latest
[root@localhost ~]# docker imaegs
docker: 'imaegs' is not a docker command.
See 'docker --help'
[root@localhost ~]# docker images
REPOSITORY                  TAG                 IMAGE ID            CREATED             SIZE
zookeeper                   latest              bbebb888169c        12 days ago         224MB
tomcat9                     latest              f1338fd7a813        13 days ago         712MB
mysql                       5.7                 84164b03fa2e        2 weeks ago         456MB
centos                      latest              470671670cac        2 months ago        237MB
elasticsearch               latest              5acf0e8da90b        18 months ago       486MB
daocloud.io/library/redis   3.2.9               3459037fcc3a        2 years ago         98.9MB
[root@localhost ~]# docker run -d --name zk01 -p 2181:2181 --restart always zookeeper
6dfe3317ffb98f1cdbe6de527c505f17e61796534a42c938c066123e13b081f5
[root@localhost ~]# 

 

 

posted @ 2020-03-22 17:36  VipSoft  阅读(823)  评论(0编辑  收藏  举报