docker cmd vs run code example Example: dockerfile run app cmd RUN apt-get install python3 CMD echo "Hello world" ENTRYPOINT echo "Hello world"