Bladeren bron

多端口开放

tags/v1.0.0^2
林万龙 3 jaren geleden
bovenliggende
commit
678cfbd35d
2 gewijzigde bestanden met toevoegingen van 2 en 3 verwijderingen
  1. +1
    -1
      dipper_position_run.sh
  2. +1
    -2
      setup_test.sh

+ 1
- 1
dipper_position_run.sh Bestand weergeven

@@ -21,7 +21,7 @@ if [[ ${environment} == 'test' ]]; then

docker rmi -f $(docker images | grep 139.224.254.18:5000/dipperposition_service | awk '{print $3}')
docker pull 139.224.254.18:5000/dipperposition_service:$version
docker run -v /home/data/dipperposition/log:/var/log/dipperposition -e active=test --restart=always -d --network host -p 8105:8105 -p 9011:9011 -p 9012:9012 -p 9013:9013 --name dipperposition_service 139.224.254.18:5000/dipperposition_service:$version
docker run -v /home/data/dipperposition/log:/var/log/dipperposition -e active=test --restart=always -d --network host -p 9011:9011 --name dipperposition_service 139.224.254.18:5000/dipperposition_service:$version

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


+ 1
- 2
setup_test.sh Bestand weergeven

@@ -22,7 +22,6 @@ docker rmi -f $(docker images | grep none | awk '{print $3}')
# 查看镜像列表
docker images
# 启动容器
docker run -v /home/data/dipperposition/log:/var/log/dipperposition -d -e active=test --network host --restart=always -p 9011:9011 -p 9012:9012 -p 9013:9013 --name dipperposition_service 139.224.254
.18:5000/dipperposition_service:$image_version
docker run -v /home/data/dipperposition/log:/var/log/dipperposition -d -e active=test --network host --restart=always -p 9011:9011 --name dipperposition_service 139.224.254.18:5000/dipperposition_service:$image_version
# 查看日志
# docker logs dipperposition_service

Laden…
Annuleren
Opslaan