7
docker 安装 zk
source link: https://www.jansora.com/notebook/107547
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
拉取 zookeeper 官方镜像
更多zk版本请参见 https://hub.docker.com/_/zookeeper tag
docker pull zookeeper:3.6.3
docker run -it --restart always --name zookeeper -d --network host zookeeper:3.6.3
docker exec -it zookeeper ./bin/zkServer.sh status
出现以下类似消息即为成功
ZooKeeper JMX enabled by default
Using config: /conf/zoo.cfg
Client port found: 2181. Client address: localhost. Client SSL: false.
Mode: standalone
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK