24 lines
461 B
Markdown
24 lines
461 B
Markdown
# dynamic 搭建
|
|
## 创建镜像
|
|
|
|
镜像构建源码请[参考](http://git.yangyufans.com/pub/docker/tree/master/sentinel)
|
|
|
|
```bash
|
|
docker build -t ccr.ccs.tencentyun.com/yy-dk/sentinel:1.8.8 .
|
|
```
|
|
|
|
## 从远程仓库下拉
|
|
|
|
```bash
|
|
docker pull ccr.ccs.tencentyun.com/yy-dk/sentinel:1.8.8
|
|
```
|
|
|
|
## 创建容器
|
|
|
|
```bash
|
|
docker run -d \
|
|
--privileged=true \
|
|
-p 8080:8080 \
|
|
--name sentinel-dashboard \
|
|
ccr.ccs.tencentyun.com/yy-dk/sentinel:1.8.8
|
|
``` |