What is the difference between CMD vs Entry point ?
The ENTRYPOINT instruction looks almost similar to the CMD instruction. However, the main highlighting difference between them is that it will not ignore any of the parameters that you have specified in the Docker run command (CLI parameters).
-> CMD : Sets default parameters that can be overridden from the Docker Command Line Interface (CLI) when a container is running.
-> ENTRYPOINT : Default parameters that cannot be overridden when Docker Containers run with CLI parameters.