Problem scenario
You want to use the ENTRYPOINT and CMD keywords in a Dockerfile. You know that the value of CMD amounts to a parameter for the ENTRYPOINT value which is executed. You want to verify that the value of ENDPOINT is used in an execution. You want the Dockerfile to be simple to illustrate these reserved words. What do you do?
Solution
Prerequisite
Install Docker.
…