zookeeper相关命令-docker容器的zookeeper状态信息

时间:2024-05-05 14:09:51

docker exec -it $(docker ps | grep zookeeper|awk '{print $1}')   zkServer.sh status
返回结果
ZooKeeper JMX enabled by default

Using config: /conf/zoo.cfg

Client port found: 2181. Client address: localhost. Client SSL: false.