How to understand docker zookeeper
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.