You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Simon Prewo (JIRA)" <ji...@apache.org> on 2018/09/17 15:44:00 UTC

[jira] [Created] (YARN-8783) Property docker.trusted.registries does not work when using a list

Simon Prewo created YARN-8783:
---------------------------------

             Summary: Property docker.trusted.registries does not work when using a list
                 Key: YARN-8783
                 URL: https://issues.apache.org/jira/browse/YARN-8783
             Project: Hadoop YARN
          Issue Type: Bug
    Affects Versions: 3.1.1
            Reporter: Simon Prewo


I am deploying the default yarn distributed shell example:
{code:java}
yarn jar hadoop-yarn-applications-distributedshell.jar -shell_env YARN_CONTAINER_RUNTIME_TYPE=docker -shell_env YARN_CONTAINER_RUNTIME_DOCKER_IMAGE=centos -shell_command "sleep 90" -jar hadoop-yarn-applications-distributedshell.jar -num_containers 1{code}
Having a *single trusted registry configured like this works*:

docker.trusted.registries=centos

But havingĀ *a list of trusted registries configured fails* ("Shell error output: image: centos is not trusted."):

docker.trusted.registries=centos,ubuntu



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org