Преглед на файлове

增加端口映射

master
wangjx преди 3 години
родител
ревизия
ffdac82314
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. +1
    -1
      sentinel_dashboard_run.sh

+ 1
- 1
sentinel_dashboard_run.sh Целия файл

@@ -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}')


Loading…
Отказ
Запис