CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 39a6cf356e1a zookeeper:3.5 "/docker-entrypoint.…" 11 seconds ago Up 10 seconds 2888/tcp, 3888/tcp, 0.0.0.0:2181->2181/tcp, 8080/tcp zookeeper
The number of milliseconds of each tick tickTime=2000 The number of ticks that the initial synchronization phase can take initLimit=10 The number of ticks that can pass between sending a request and getting an acknowledgement syncLimit=5 # the directory where the snapshot is stored. #do not use /tmp for storage, /tmp here is just< 大专栏Docker搭建开发环境合集/span> # example sakes. dataDir=/data dataLogDir=/data/log # the port at which the clients will connect clientPort=2181 # the maximum number of client connections. # increase this if you need to handle more clients #maxClientCnxns=60 # # Be sure to read the maintenance section of the # administrator guide before turning on autopurge. # # http://zookeeper.apache.org/doc/current/zookeeperAdmin.html # # The number of snapshots to retain in dataDir #autopurge.snapRetainCount=3 # Purge task interval in hours # Set to "0" to disable auto purge feature #autopurge.purgeInterval=1 server.1=localhost:2881:3881 server.1=zookeeper1:2888:3888 server.2=zookeeper2:2888:3888 server.3=zookeeper3:2888:3888 4lw.commands.whitelist=*
Zookeeper version: 3.5.5-390fe37ea45dee01bf87dc1c042b5e3dcce88653, built on 05/03/2019 12:07 GMT Clients: /172.18.0.1:41462[0](queued=0,recved=1,sent=0)