@@ -43,8 +43,8 @@ print_usage(){
4343 ${bold} LAB_TYPE${normal} Selects the type of lab to
4444 download the HELayers container from Docker Hub.
4545 Available lab types are:
46- x86_64/amd64: {lab , python}
47- s390x: {lab , python}
46+ x86_64/amd64: {cpp , python}
47+ s390x: {cpp , python}
4848
4949 ${bold} OPTIONS:${normal}
5050 -h Displays this help information.
118118 if [[ " $labtype " = " python" ]]
119119 then
120120 imagesuffix=" pylab-s390x"
121- elif [[ " $labtype " = " lab " ]]
121+ elif [[ " $labtype " = " cpp " ]]
122122 then
123123 imagesuffix=" lab-s390x"
124124 else
134134 then
135135 imagesuffix=" pylab"
136136 labport=" 8888"
137- elif [[ " $labtype " = " lab " ]]
137+ elif [[ " $labtype " = " cpp " ]]
138138 then
139139 imagesuffix=" lab"
140140 labport=" 8443"
@@ -174,15 +174,15 @@ echo ""
174174echo " ==============================================================="
175175
176176docker pull ibmcom/helayers-$imagesuffix
177- docker tag ibmcom/helayers-$imagesuffix ibmcom/helayers-$labtype
177+ docker tag ibmcom/helayers-$imagesuffix ibmcom/helayers-$imagesuffix
178178if [ $? -ne 0 ]; then
179179 echo " "
180180 echo " FATAL: Aborting. There was an issue pulling the image ibmcom/helayers-$imagesuffix "
181181 echo " "
182182 exit -1
183183fi
184184
185- docker run -p $labport :$labport -d --rm --name helayers-$labtype ibmcom/helayers-$labtype :latest
185+ docker run -p $labport :$labport -d --rm --name helayers-$imagesuffix ibmcom/helayers-$imagesuffix :latest
186186if [ $? -ne 0 ]; then
187187 echo " "
188188 echo " FATAL: Aborting. There was an issue running the image ibmcom/helayers-$imagesuffix "
195195 echo " "
196196 echo " Container started. Navigate to: http://127.0.0.1:8888/lab/?token=demo-experience-with-fhe-and-python "
197197 echo " "
198- elif [[ " $labtype " = " lab " ]]
198+ elif [[ " $labtype " = " cpp " ]]
199199then
200200 echo " "
201201 echo " Container started. Navigate to: http://127.0.0.1:8443/ "
0 commit comments