Evening all, can someone please explain the practical difference between using t . . .

James Hope:
Evening all, can someone please explain the practical difference between using the environmental variables in a pod file versus the command and args. When would you use one or the other? Don’t both of these approaches allow passing arguments to the application inside the container?

Mohamed Ayman:
There is a difference between both
-env: is used to provide default values for you desired environment. Then, the dockerizes app can access them

-arg: those values are not available after building the image. Then, the running container can’t access those values.

James Hope:
understood, thank you @Mohamed Ayman