Browse Source

增加端口映射

master
wangjx 3 years ago
parent
commit
ffdac82314
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      sentinel_dashboard_run.sh

+ 1
- 1
sentinel_dashboard_run.sh View File

@@ -22,7 +22,7 @@ else


docker rmi -f $(docker images | grep 139.224.254.18:5000/sentinel_dashboard | awk '{print $3}') docker rmi -f $(docker images | grep 139.224.254.18:5000/sentinel_dashboard | awk '{print $3}')
docker pull 139.224.254.18:5000/sentinel_dashboard:$version docker pull 139.224.254.18:5000/sentinel_dashboard:$version
docker run -v /home/data/sentineldashboard/log:/var/log/sentineldashboard -e active=test --restart=always -d --network host --name sentinel_dashboard 139.224.254.18:5000/sentinel_dashboard:$version
docker run -p 9000:7777 -v /home/data/sentineldashboard/log:/var/log/sentineldashboard -e active=test --restart=always -d --network host --name sentinel_dashboard 139.224.254.18:5000/sentinel_dashboard:$version


#删除产生的None镜像 #删除产生的None镜像
docker rmi -f $(docker images | grep none | awk '{print $3}') docker rmi -f $(docker images | grep none | awk '{print $3}')


Loading…
Cancel
Save