docker部署sentinel1.8.4
时间: 2023-09-16 13:13:55 浏览: 141
Sentinel-1.8.4.tar.gz
要部署Sentinel 1.8.4版本,你可以按照以下步骤进行操作:
1. 首先,你需要在本地克隆Sentinel的Docker Compose仓库。你可以使用以下命令将仓库克隆到本地:
```
git clone https://gitee.com/zhengqingya/docker-compose.git
```
2. 进入`docker-compose/Liunx`目录,并运行以下命令来启动Sentinel和Nacos:
```
docker-compose -f docker-compose-sentinel-nacos.yml -p sentinel up -d
```
3. 现在,你需要构建Sentinel Dashboard的Docker镜像。确保你的Dockerfile和`sentinel-dashboard-1.8.4.jar`文件位于同一个目录中。使用以下命令构建镜像:
```
docker build -t sentinel-dashboard .
```
4. 创建一个名为sentinel-dashboard的镜像。你可以使用以下命令构建镜像:
```
docker build . -t sentinel-dashboard:1.8.4
```
这样,你就成功部署了Sentinel 1.8.4版本的Docker镜像。你可以根据需要修改相关配置信息,然后进行体验和使用。<em>1</em><em>2</em><em>3</em>
#### 引用[.reference_title]
- *1* [SpringCloud(14) Sentinel 1.8.4 规则持久化到Nacos](https://blog.csdn.net/qq_38225558/article/details/124921650)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}} ] [.reference_item]
- *2* [Docker布署sentinel](https://blog.csdn.net/changgongzhao/article/details/124948240)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}} ] [.reference_item]
- *3* [09-Docker安装Sentinel(Mac)](https://blog.csdn.net/luyou0401/article/details/126606089)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}} ] [.reference_item]
[ .reference_list ]
阅读全文