Docker 部署Zookeeper

拉取镜像:
docker pull zookeeper
运行容器:
docker run --name zookeeper --restart always -p 2181:2181 -v /docker/zookeeper/data:/data -v /docker/zookeeper/log:/datalog -d zookeeper

posted @ 2019-08-01 15:08  WRC_BlackPearl  阅读(89)  评论(0编辑  收藏  举报