Difference Between RUN and CMD in Dockerfile

0 minute read

RUN - command triggers while we build the docker image.

CMD - command triggers while we launch the created docker image.