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

Reply via email to