Category: Zookeeper

1 篇文章

docker搭建zookeeper集群
1、在官网拉取镜像 docker pull zookeeper 2、根据镜像启动zookeeper容器 docker run -itd --name zookeeper1 -h zookeeper1 -e ZOO_MY_ID=1 -e ZOO_SERVERS="server.1=zookeeper1:2888:3888 server.2=zooke…