From f3fa332b64f0982b96613cbc254a5c523952191d Mon Sep 17 00:00:00 2001 From: elinuxhenrik Date: Thu, 17 Sep 2020 15:10:18 +0200 Subject: [PATCH] Naming simulator containers in startup scripts Change-Id: Ic9d30aaab3a22e359e418486d0a782788ec0fa73 Issue-ID: NONRTRIC-260 Signed-off-by: elinuxhenrik --- near-rt-ric-simulator/test/OSC_2.1.0/build_and_start.sh | 2 +- near-rt-ric-simulator/test/STD_1.1.3/build_and_start.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/near-rt-ric-simulator/test/OSC_2.1.0/build_and_start.sh b/near-rt-ric-simulator/test/OSC_2.1.0/build_and_start.sh index 2c8cba4..e182782 100755 --- a/near-rt-ric-simulator/test/OSC_2.1.0/build_and_start.sh +++ b/near-rt-ric-simulator/test/OSC_2.1.0/build_and_start.sh @@ -27,5 +27,5 @@ docker build -t a1test . echo "Starting $1 mode" #Run the container in interactive mode, unsecure port 8085, secure port 8185. -docker run -it -p 8085:8085 -p 8185:8185 -e A1_VERSION=OSC_2.1.0 -e ALLOW_HTTP=true -e REMOTE_HOSTS_LOGGING=1 --volume "$PWD/certificate:/usr/src/app/cert" a1test +docker run -it -p 8085:8085 -p 8185:8185 -e A1_VERSION=OSC_2.1.0 -e ALLOW_HTTP=true -e REMOTE_HOSTS_LOGGING=1 --volume "$PWD/certificate:/usr/src/app/cert" --name a1OscSimulator a1test diff --git a/near-rt-ric-simulator/test/STD_1.1.3/build_and_start.sh b/near-rt-ric-simulator/test/STD_1.1.3/build_and_start.sh index 0bd0f1c..fa59f49 100755 --- a/near-rt-ric-simulator/test/STD_1.1.3/build_and_start.sh +++ b/near-rt-ric-simulator/test/STD_1.1.3/build_and_start.sh @@ -27,4 +27,4 @@ docker build -t a1test . echo "Starting ric-sim" #Run the container in interactive mode, unsecure port 8085, secure port 8185 -docker run -it -p 8085:8085 -p 8185:8185 -e A1_VERSION=STD_1.1.3 -e ALLOW_HTTP=true -e REMOTE_HOSTS_LOGGING=1 --volume "$PWD/certificate:/usr/src/app/cert" a1test \ No newline at end of file +docker run -it -p 8085:8085 -p 8185:8185 -e A1_VERSION=STD_1.1.3 -e ALLOW_HTTP=true -e REMOTE_HOSTS_LOGGING=1 --volume "$PWD/certificate:/usr/src/app/cert" --name a1StdSimulator a1test -- 2.16.6