Pārlūkot izejas kodu

增加端口映射

master
wangjx pirms 3 gadiem
vecāks
revīzija
ffdac82314
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      sentinel_dashboard_run.sh

+ 1
- 1
sentinel_dashboard_run.sh Parādīt failu

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

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 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镜像
docker rmi -f $(docker images | grep none | awk '{print $3}')


Notiek ielāde…
Atcelt
Saglabāt