Open terminal and run the following commands:
docker pull egerrmann/calculator
for step 1, ordocker pull egerrmann/calculator-step2
for step 2, ordocker pull egerrmann/calculator-step3
for step 3docker run -p 8000:8080 egerrmann/calculator
, ordocker run -p 8000:8080 egerrmann/calculator-step2
, ordocker run -p 8000:8080 egerrmann/calculator-step3
After all follow the url http://localhost:8000/index
You need to download the complete project, unarchive .zip and open it in the IDE. There are some dependencies used in the application, that's why you have to open the pom.xml file in the root folder and Reload project using Maven by right-clicking in the pom.xml (see the screenshot)
Then follow the url http://localhost:8080/index