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 2019/02/21 18:40:00 UTC
[jira] [Commented] (YARN-8783) Improve the documentation for the
docker.trusted.registries configuration
[ https://issues.apache.org/jira/browse/YARN-8783?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16774392#comment-16774392 ]
Eric Yang commented on YARN-8783:
---------------------------------
With YARN-8927 fixed, adding more information for docker.trusted.registries. [~shanekumpf@gmail.com] can you help with the review? Thanks
> Improve the documentation for the docker.trusted.registries configuration
> -------------------------------------------------------------------------
>
> Key: YARN-8783
> URL: https://issues.apache.org/jira/browse/YARN-8783
> Project: Hadoop YARN
> Issue Type: Sub-task
> Affects Versions: 3.1.1
> Reporter: Simon Prewo
> Assignee: Eric Yang
> Priority: Major
> Labels: Docker, container-executor, docker
> Attachments: YARN-8783.001.patch
>
>
> 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*:
> {code:java}
> docker.trusted.registries=centos{code}
> But havingĀ *a list of trusted registries configured fails* ("Shell error output: image: centos is not trusted."):
> {code:java}
> docker.trusted.registries=centos,ubuntu{code}
--
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