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
拉取镜像:
docker pull zookeeper
运行容器:
docker run --name zookeeper --restart always -p 2181:2181 -v /docker/zookeeper/data:/data -v /docker/zookeeper/log:/datalog -d zookeeper