update README.md
This commit is contained in:
parent
1991c045e7
commit
abdbf6d657
@ -1,9 +1,15 @@
|
||||
# zookeeper 集群搭建
|
||||
## 创建镜像
|
||||
镜像构建Dockerfile请[参考](http://git.yangyufans.com/pub/docker/tree/master/zookeeper)
|
||||
|
||||
进入相应版本文件夹
|
||||
```bash
|
||||
docker build -t ccr.ccs.tencentyun.com/yy-dk/zookeeper:3.4.12 .
|
||||
```
|
||||
或者直接拉取项目
|
||||
```bash
|
||||
docker pull ccr.ccs.tencentyun.com/yy-dk/zookeeper:3.4.12
|
||||
```
|
||||
## 生成容器
|
||||
```bash
|
||||
docker run -d \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user