You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Eric Yang (JIRA)" <ji...@apache.org> on 2018/03/30 22:07:00 UTC

[jira] [Created] (YARN-8097) Add support for Docker env-file switch

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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org