Public Repository

Last pushed: a year ago
Short Description
Deploy Zookeeper in Multi-node cluster mode using Docker.
Full Description

Originally from https://hub.docker.com/r/jplock/zookeeper/

Run ZooKeeper in single node

docker run -d --net=host chenzhiwei/zookeeper

Run ZooKeeper in multi-node cluster

  • On node 1.1.1.1
docker run -d --net=host chenzhiwei/zookeeper --server 1.1.1.1,2.2.2.2,3.3.3.3 --id 1
  • On node 2.2.2.2
docker run -d --net=host chenzhiwei/zookeeper --server 1.1.1.1,2.2.2.2,3.3.3.3 --id 2
  • On node 3.3.3.3
docker run -d --net=host chenzhiwei/zookeeper --server 1.1.1.1,2.2.2.2,3.3.3.3 --id 3
Docker Pull Command
Owner
chenzhiwei

Comments (0)