Problem scenario
You want to create a basic “Hello World” web page with Node.js running in a Docker container. How do you do this?
Solution
Prerequisite
Install Docker. If you need assistance, see this posting.
Procedures
1. Create three files in the same directory on a Linux server. A possible location would be the home directory of the user that will run the “docker” commands.
…