Docker中部署Zookeeper详细介绍(快速搭建)

1.拉取镜像

docker pull zookeeper:3.5

2.创建容器

docker create --name zookeeper --restart=always -p 2181:2181 zookeeper:3.5

3.启动容器

docker start zookeeper

补充:docker的安装与操作请参考:
https://blog.csdn.net/a1120467800/article/details/109957446

你可能感兴趣的:(Docker,Linux,docker,linux,zookeeper)