Eric Yang created YARN-8097:
-------------------------------
Summary: Add support for Docker env-file switch
Key: YARN-8097
URL: https://issues.apache.org/jira/browse/YARN-8097
Project: Hadoop YARN
Issue Type: Task
Components: yarn-native-services
Affects Versions: 3.2.0
Reporter: Eric Yang
There are two different ways to pass user environment variables to docker.
There is -e flag and --env-file which reference to a file that contains
environment variables key/value pair. It would be nice to have a way to
express env-file from HDFS, and localize the .env file in container localized
directory and pass --env-file flag to docker run command. This approach would
prevent ENV based password to show up in log file.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]