Docker - What is different between RUN, CMD, and ENTRYPOINT in a Dockerfile
In a nutshell RUN executes command(s) in a new layer and creates a new image. It is often used to install software packages. CMD sets the default command and/or parameters, which can be overwritten from the command line when the docker container r…