Zookeeper 3.4.6 running on Docker
770
Zookeeper 3.4.6 running on Docker with Exhibitor 1.5.1 docker pull raycoding/piggybank-zookeeper
docker run -name zookeeper -p 8383:8383 -p 2181:2181 -p 2888:2888 -p 3888:3888 -e HOSTNAME={hostname for eg. 127.0.0.1} raycoding/piggybank-zookeeperdocker run -name zookeeper -p 8383:8383 -p 2181:2181 -p 2888:2888 -p 3888:3888 -e S3_BACKUP=true -e HOSTNAME={hostname for eg. 127.0.0.1} -e S3_BUCKET=<value, Exhibitor will use this bucket for backups & coordination in Essemble> -e S3_PREFIX=<value, key-prefix in S3 Bucket> -e AWS_ACCESS_KEY_ID=<value, AWS access key ID with read & write permissions on bucket> -e AWS_SECRET_ACCESS_KEY=<value of secret key> -e AWS_REGION=<this is optional,AWS region of the S3, defaults to us-west-2> raycoding/piggybank-zookeeperS3_BACKUP,S3_BUCKET,S3_PREFIX,AWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY are compulsory in the second methodHOSTNAME parameter is required in both methods as Exhibitor will send client requests to the Monitoring Dashboard to this host address)http://localhost:8383/exhibitor/v1/ui/index.htmlcurl -s http://localhost:8383/exhibitor/v1/cluster/status
Output : [{"code": 3,"description": "serving","hostname": "127.0.0.1","isLeader": true}]Content type
Image
Digest
sha256:a35526243…
Size
636.8 MB
Last updated
almost 11 years ago
docker pull raycoding/piggybank-zookeeper