Docker tutorial: Name of app exemplified in 'docker build' should be 'docker_web_app' (NOT 'node-web-app')
- URL: https://nodejs.org/en/docs/guides/nodejs-docker-webapp/
In the above Docker tutorial provided by Node.js:
The name of the app exemplified in the 'docker build' command (from Building your image) should be 'docker_web_app' (as per the package.json file exemplified in Create the Node.js app) and NOT 'node-web-app' as actually written in the 'docker build' command.
docker build command takes the name of the image and that name can be anything you like. It should not necessarily be the name of the project. It also takes path of the Dockerfile which has the details of where to pick the code from for building the image. Hope it clarifies your concern. If yes, please mark this issue as closed.
The guides are no longer present on the site, so I close this issue.