docker部署Sentinel的dashboard

使用docker查看Sentinel的dashboard

bash 复制代码
[root@localhost ~]# docker search sentinel
NAME                                     DESCRIPTION                                      STARS     OFFICIAL
hashicorp/sentinel                                                                        4         
hashicorp/sentinel-website                                                                3         
bitnami/redis-sentinel                   Bitnami container image for Redis Sentinel       49        
sentinelofficial/sentinel-vpn-node                                                        7         
fredboat/sentinel                        https://github.com/FredBoat/sentinel             3         
seandooher/sentinel-iot                  Sentinel IoT docker image                        0         
sentinelofficial/sentinel-ikev2-node                                                      1         
arilot/sentinel                          Argo Sentinel.  An all-powerful toolset for ...   0         
bladex/sentinel-dashboard                Alibaba Cloud Sentinel Dashboard (阿里巴巴流...   83        
thalesgroupsm/sentinel_ldk_rte           Docker image with Sentinel LDK Runtime versi...   1         
thalesgroupsm/sentinel_ldk_cloudportal   Docker image with Sentinel LDK Cloud Portal ...   0         
dashpay/sentinel                         Dash Sentinel                                    0         
sentinelhub/eolearn                      Official eo-learn Docker images with Jupyter...   6         
filecoin/sentinel-visor                  This repository is deprecated. New tags will...   0         
gatblau/sentinel-snapshot                Development snapshots for Sentinel               0         
sentinelone/filebeat                                                                      0         
sentinelone/elasticsearch                                                                 0         
thrashr888/sentinel-simulator            An image for Hashicorp's Sentinel https://ww...   3         
sentinelofficial/stt1-dvpn-openvpn                                                        0         
iandavis/sentinel-airflow-spark                                                           0         
cooperaj/sentinel-broker                 Small, use once webservice to hookup a Redis...   1         
c0ff3e/sentinel-proxy                    to run a sentinel proxy                          0         
tsuyoshiushio/sentinel                                                                    0         
sentinelsec/sentinel-brakeman                                                             0         
sentinelwatch/aws-amplify                AWS Amplify                                      0     
bash 复制代码
[root@localhost ~]# docker pull bladex/sentinel-dashboard
Using default tag: latest
latest: Pulling from bladex/sentinel-dashboard
169185f82c45: Pull complete 
4346af5b5a4f: Pull complete 
5d128510094d: Pull complete 
31e21ef9107a: Pull complete 
Digest: sha256:9745fbc9787070f2b959b51be15ee793f05584c733bda46c5d7e8d662ff2881c
Status: Downloaded newer image for bladex/sentinel-dashboard:latest
docker.io/bladex/sentinel-dashboard:latest
[root@localhost ~]# ^C

容器启动方式

bash 复制代码
docker run --name sentinel  -d -p 8858:8858 -p 8719:8719 -d bladex/sentinel-dashboard:latest -e username=sentinel -e password=sentinel -e server=localhost:8858

启动服务访问接口(http://192.168.11.47:8858

整合springCloud-alibaba

pom.xml(注意版本问题查看版本对应关系)版本关联

xml 复制代码
<!--sentinel 熔断降级-->
<dependency>
   <groupId>com.alibaba.cloud</groupId>
   <artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
</dependency>

application.yml 配置

yml 复制代码
server:
  port: 8079
spring:
  application:
    #默认使用名字做为sentinel服务界面显示
    name: order-sentinel
  cloud:
    nacos:
      discovery:
        server-addr: 192.168.11.47:18848
        username: nacos
        password: nacos
    sentinel:
      transport:
        dashboard: 192.168.11.47:8858
        #注意:yml配置client-ip 是本地ip才行
        client-ip: 192.168.11.50
        port: 8719

注意:client-ip 一定要写 ip 地址,别写 localhost,同样,在浏览器访问的时候也注意。可以用 127.0.0.1 ,可以网卡 192.168.11.47,但是不要用 localhost

相关推荐
Johny_Zhao6 分钟前
AI+自动化测试系统方案:网络设备与网络应用智能测试
linux·网络·人工智能·python·网络安全·docker·ai·信息安全·云计算·ansible·shell·cisco·huawei·系统运维·itsm·华三·deepseek
_Meilinger_2 小时前
碎片笔记|PromptStealer复现要点(附Docker简单实用教程)
docker·huggingface·tmux·promptstealer·hf-mirror
onkel in blog2 小时前
【Docker】Docker Compose方式搭建分布式协调服务(Zookeeper)集群
分布式·docker·zookeeper
L汐3 小时前
02 K8s双主安装
java·容器·kubernetes
shane-u4 小时前
阿里云Docker镜像加速配置指南
阿里云·docker·云计算
斯文by累5 小时前
解锁DeepSeek潜能:Docker+Ollama打造本地大模型部署新范式
运维·docker·容器
意倾城13 小时前
Docker数据卷
docker·容器
whgjjim13 小时前
docker迅雷自定义端口号、登录用户名密码
运维·docker·容器
爱吃芝麻汤圆17 小时前
k8s之Kubebuilder 的设计哲学
云原生·容器·kubernetes
裁二尺秋风19 小时前
k8s(12) — 版本控制和滚动更新(金丝雀部署理念)
云原生·容器·kubernetes