Docker 安装 sentinel

Docker 安装系列

1、拉取

复制代码
[root@Tseng ~]# docker pull bladex/sentinel-dashboard
Using default tag: latest
latest: Pulling from bladex/sentinel-dashboard
4abcf2066143: Pull complete 
1ec1e81da383: Pull complete 
56bccb36a894: Pull complete 
7cc80011dc6f: Pull complete 
4f4fb700ef54: Pull complete 
8ec3e11abb52: Pull complete 
Digest: sha256:2cfa70f8f5aacf4631ee6320d35427243f88792bd203fe5b9b44df1ffbc6214b
Status: Downloaded newer image for bladex/sentinel-dashboard:latest
[root@Tseng ~]#

2、启动容器

复制代码
[root@Tseng ~]# docker run --name=sentinel -d -p 8719:8719 -p 8868:8858 --restart=always bladex/sentinel-dashboard
26c65e397d2ec0d5fc27cb40e778a68b2b071c1a90a1525dd8df289c8e8ab53f
[root@Tseng ~]#

3、关闭自动启动

复制代码
[root@Tseng ~]# docker update --restart=no 26c6
26c6
[root@Tseng ~]#

4、配置Nginx

复制代码
server {
	listen 80;
	server_name sentinel.vr.com;

	location / {
		client_max_body_size 100m;
		proxy_pass http://192.168.2.81:8868;
		proxy_set_header Host $http_host;
		proxy_set_header X-Real-IP $remote_addr;
		proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
		proxy_set_header X-Forwarded-Proto $scheme;
		proxy_set_header X-NginX-Proxy true;
	}
}

5、登录,默认用户/密码 :sentinel

相关推荐
Web3&Basketball1 小时前
从0到1落地AI Agent沙箱隔离Docker实战:踩坑全记录
运维·docker·容器·agent·容器安全·沙箱隔离
bluebonnet271 小时前
【docker】使用regctl免安装docker下载镜像
运维·docker·容器
Java开发追求者18 小时前
windows快速安装docker
windows·docker·安装·1024程序员节
骑着蜗牛撵大象32720 小时前
飞牛fnOS部署Damselfly:Compose编排、照片目录与7100固定访问
java·docker·rpc·dubbo·fnos·照片管理·damselfly
一掬净土21 小时前
kubelet 报错如下:docker does not support reopening container log files
docker·云原生·kubelet·logfiles
TTATTC1 天前
为什么 Python 做 Agent 总在并发中崩溃?拆解 Blockcell 在 Rust 下的 Host-Cell 隔离与自愈状态机
docker·开源
fb_123451 天前
K8s存储与配置核心实战
云原生·容器·kubernetes
骑着蜗牛撵大象3271 天前
N1 小盒子撑起 AI 接口中转层:New-API 接管本地 Ollama,用 Token 分发模型能力
docker·llama·1024程序员节·api网关·飞牛nas·new-api
艸肅1 天前
Docker 国内镜像源配置
linux·ubuntu·docker·1024程序员节
java_logo1 天前
Docker 部署 Bililive-go:轻松搭建多平台直播录制
docker·1024程序员节·直播录制·轩辕镜像·bililive-go·chigusa/bililive-go