docker cmd sample code example
Example 1: docker ARG
$ docker build --build-arg some_variable_name=a_value
Example 2: dockerfile run app cmd
RUN apt-get install python3
CMD echo "Hello world"
ENTRYPOINT echo "Hello world"
$ docker build --build-arg some_variable_name=a_value
RUN apt-get install python3
CMD echo "Hello world"
ENTRYPOINT echo "Hello world"