Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to understand docker zookeeper

Shulou Source: shulou.com Published: 2022-06-02 00:05:48 10月04日 Update

How to understand docker zookeeper, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain for you in detail, people with this need can come to learn, I hope you can gain something.

Docker pull zookeeper:3.4

# start the service

Docker run-- name my-zookeeper-- restart always-- publish 2181-d zookeeper:3.4

# start a new disposable container association and enter cli mode

Docker run-it-- rm-- link my-zookeeper:zookeeper zookeeper:3.4 zkCli.sh-server zookeeper

# zookeeper operation

Create / zk-book/aa a1

Ls / zk-book

Get / zk-boot/aa

Set / zk-boot/aa a2

Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.

Tags: Help clear one-off content containers for this articles novices more patterns knowledge industry information information channels problems needs channels enter one relate learn Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Docker Shulou Information Microsoft Shulou Tech Info