Pull the image
$ docker pull cpp1092020/bmi-web
Run container (the last port must be 8080)
$ docker run --name bmi-app -p 80:8080 -e HOSTNAME=$(hostname) cpp1092020/bmi-web
The web screen
https://hackmd.io/_uploads/H1vTf75r0.png
The terminal shows hostname
https://hackmd.io/_uploads/BktRMm5r0.png
Content type
Image
Digest
sha256:b1e61e1bb…
Size
49.7 MB
Last updated
over 2 years ago
docker pull cpp1092020/bmi-web