sentinel-dashboard-1.8.0

创建Dockfile

FROM openjdk:8-jre-slim
COPY sentinel-dashboard-1.8.0.jar sentinel-dashboard.jar
ENV JAVA_OPTS="
-Dserver.port=80
-Dcsp.sentinel.dashboard.server=localhost:80
-Dsentinel.dashboard.auth.username=sentinel
-Dsentinel.dashboard.auth.password=123456"
ENTRYPOINT java ${JAVA_OPTS} -jar sentinel-dashboard.jar

构建镜像

docker build -t sentinel-dashboard:1.8.0 .

运行容器

docker run --name sentinel -d -p 80:80 sentinel-dashboard:1.8.0

相关文章:

  • 2021-08-15
  • 2021-08-21
  • 2021-12-19
  • 2021-06-07
  • 2021-09-05
  • 2021-09-19
  • 2021-08-01
猜你喜欢
  • 2022-12-23
  • 2021-05-23
  • 2022-12-23
  • 2021-06-26
  • 2021-06-04
  • 2021-12-24
  • 2022-12-23
相关资源
相似解决方案