• 首页 首页 icon
  • 工具库 工具库 icon
    • IP查询 IP查询 icon
  • 内容库 内容库 icon
    • 快讯库 快讯库 icon
    • 精品库 精品库 icon
    • 问答库 问答库 icon
  • 更多 更多 icon
    • 服务条款 服务条款 icon

微服务-Docker安装Sentinel

武飞扬头像
Acloasia
帮助1

目录

1、拉取Sentinel镜像

2、构建Sentinel容器 

3、访问Sentinel


1、拉取Sentinel镜像

代码:

docker pull bladex/sentinel-dashboard:1.8.0

实例:

  1.  
    root@localhost howlong]# docker pull bladex/sentinel-dashboard:1.8.0
  2.  
    1.8.0: Pulling from bladex/sentinel-dashboard
  3.  
    169185f82c45: Pull complete
  4.  
    4346af5b5a4f: Pull complete
  5.  
    071ce1b99999: Pull complete
  6.  
    feb8a653dea6: Pull complete
  7.  
    Digest: sha256:feaae3ddd2c68c4b36164b2b7d7de553198390a9710b9de99737bb238be18ad8
  8.  
    Status: Downloaded newer image for bladex/sentinel-dashboard:1.8.0
  9.  
    docker.io/bladex/sentinel-dashboard:1.8.0
  10.  
    root@localhost howlong]#

2、构建Sentinel容器 

代码:

docker run --name sentinel -p 8858:8858 --ulimit nofile=1024 -d bladex/sentinel-dashboard:1.8.0

实例:

  1.  
    [root@localhost howlong]# docker run --name sentinel -p 8858:8858 --ulimit nofile=1024 -d bladex/sentinel-dashboard:1.8.0
  2.  
    6fc113e9c8e0d8e13ea7c896999465f88bf2778db2e1f943d498a89224e9619a
  3.  
    [root@localhost howlong]#

3、访问Sentinel

        打开游览器,访问 http://虚拟机IP:Sentinel服务端口号

        即可访问服务,默认账号和密码都是:sentinel

例如:

http://192.168.27.129:8858

学新通

这篇好文章是转载于:学新通技术网

  • 版权申明: 本站部分内容来自互联网,仅供学习及演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,请提供相关证据及您的身份证明,我们将在收到邮件后48小时内删除。
  • 本站站名: 学新通技术网
  • 本文地址: /boutique/detail/tanhihgchk
系列文章
更多 icon
同类精品
更多 icon
继续加载