build arg docker code example Example: docker ARG $ docker build --build-arg some_variable_name=a_value