Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 5F8D6200B49 for ; Wed, 3 Aug 2016 19:04:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 5E21B160A86; Wed, 3 Aug 2016 17:04:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A42B1160A5D for ; Wed, 3 Aug 2016 19:04:21 +0200 (CEST) Received: (qmail 80716 invoked by uid 500); 3 Aug 2016 17:04:20 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 80694 invoked by uid 99); 3 Aug 2016 17:04:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Aug 2016 17:04:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 996472C0E09 for ; Wed, 3 Aug 2016 17:04:20 +0000 (UTC) Date: Wed, 3 Aug 2016 17:04:20 +0000 (UTC) From: "Allen Wittenauer (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (YARN-5428) Allow for specifying the docker client configuration directory MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 03 Aug 2016 17:04:22 -0000 [ https://issues.apache.org/jira/browse/YARN-5428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15406226#comment-15406226 ] Allen Wittenauer commented on YARN-5428: ---------------------------------------- ... and none of that answers the key question: Why is the admin providing the passwords and not the user? Why can't a user provide a config.json as part of their job submission? All users having the exact same access to every docker registry seems like a huge fail in any large (read: enterprise) environment. > Allow for specifying the docker client configuration directory > -------------------------------------------------------------- > > Key: YARN-5428 > URL: https://issues.apache.org/jira/browse/YARN-5428 > Project: Hadoop YARN > Issue Type: Sub-task > Components: yarn > Reporter: Shane Kumpf > Assignee: Shane Kumpf > Attachments: YARN-5428.001.patch, YARN-5428.002.patch, YARN-5428.003.patch, YARN-5428.004.patch > > > The docker client allows for specifying a configuration directory that contains the docker client's configuration. It is common to store "docker login" credentials in this config, to avoid the need to docker login on each cluster member. > By default the docker client config is $HOME/.docker/config.json on Linux. However, this does not work with the current container executor user switching and it may also be desirable to centralize this configuration beyond the single user's home directory. > Note that the command line arg is for the configuration directory NOT the configuration file. > This change will be needed to allow YARN to automatically pull images at localization time or within container executor. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: yarn-issues-help@hadoop.apache.org