Sign inSign up

openeuler/zookeeper

Sponsored OSS

By openeuler

•Updated 18 days ago

Image
0

10K+

openeuler/zookeeper repository overview

⁠Quick reference

⁠Zookeeper | openEuler

Current Zookeeper docker images are built on the openEuler⁠. This repository is free to use and exempted from per-user rate limits.

ZooKeeper is a centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services. All of these kinds of services are used in some form or another by distributed applications. Each time they are implemented there is a lot of work that goes into fixing the bugs and race conditions that are inevitable. Because of the difficulty of implementing these kinds of services, applications initially usually skimp on them, which make them brittle in the presence of change and difficult to manage. Even when done correctly, different implementations of these services lead to management complexity when the applications are deployed.

Learn more about ZooKeeper on the ZooKeeper Wiki⁠.

The tag of each zookeeper docker image is consist of the version of zookeeper and the version of basic image. The details are as follows

TagCurrentlyArchitectures
3.9.6-oe2403sp4⁠zookeeper 3.9.6 on openEuler 24.03-LTS-SP4amd64, arm64
3.9.4-oe2403sp4⁠zookeeper 3.9.4 on openEuler 24.03-LTS-SP4amd64, arm64
3.9.4-oe2403sp1⁠zookeeper 3.9.4 on openEuler 24.03-LTS-SP1amd64, arm64
3.8.3-oe2203sp3⁠zookeeper 3.8.3 on openEuler 22.03-LTS-SP3amd64, arm64
3.9.2-oe2203sp3⁠zookeeper 3.9.2 on openEuler 22.03-LTS-SP3amd64, arm64

⁠Usage

In this usage, users can select the corresponding {Tag} and container startup options based on their requirements.

  • Pull the openeuler/zookeeper image from docker

    docker pull openeuler/zookeeper:{Tag}
    
  • Start a zookeeper instance

    docker run -d --name my-zookeeper -p 2181:2181 openeuler/zookeeper:{Tag}
    

    After the instance my-zookeeper is started, access the Zookeeper service through http://localhost:2181.

  • Container startup options

    OptionDescription
    -p 2181:2181Expose ZooKeeper server on localhost:2181.
    -v /path/to/config/file:/etc/zookeeper/zoo.cfgLocal ZooKeeper configuration file.
    -v zookeeperData:/var/lib/zookeeper/dataPersist data in a docker volume named zookeeperData. Make sure that the mount point is consistent with the configuration property dataDir.
    -v zookeeperLogData:/var/lib/zookeeper/data-logPersist data in a docker volume named zookeeperLogData. Make sure that the mount point is consistent with the configuration property dataLogDir.
  • View container running logs

    docker logs -f my-zookeeper
    
  • To get an interactive shell

    docker exec -it my-zookeeper /bin/bash
    

⁠Question and answering

If you have any questions or want to use some special features, please submit an issue or a pull request on openeuler-docker-images⁠.

Tag summary

Content type

Image

Digest

sha256:a0c473a22…

Size

234.7 MB

Last updated

18 days ago

docker pull openeuler/zookeeper

This week's pulls

Pulls:

149

Last week