Okay, I think I see what you want now.
You really don’t need to export the variable first with export FOO=bar
or set FOO=bar
,
you can set them directly in the docker run command like this
docker run -e Foo=bar ubuntu env
Share and learn in the Docker community.
Okay, I think I see what you want now.
You really don’t need to export the variable first with export FOO=bar
or set FOO=bar
,
you can set them directly in the docker run command like this
docker run -e Foo=bar ubuntu env