Difference Between RUN and CMD in Dockerfile 2022-09-14 0 minute read docker RUN - command triggers while we build the docker image. CMD - command triggers while we launch the created docker image.