创建Docker容器
bash
docker run -d --name sentinel --restart=always -p 8858:8858 bladex/sentinel-dashboard
进入容器
bash
docker exec -it sentinel bash
在app.jar
所在目录创建application.properties
配置文件添加账号密码
bash
auth.username=sentinel
auth.password=sentinel
重启容器
bash
docker restart sentinel
访问sentinel
http://localhost:8858