Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-8472 YARN Container Phase 2
  3. YARN-8783

Improve the documentation for the docker.trusted.registries configuration

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

      Description

      I am deploying the default yarn distributed shell example:

      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

      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

        Attachments

        1. YARN-8783.001.patch
          3 kB
          Eric Yang
        2. YARN-8783.002.patch
          3 kB
          Eric Yang

          Activity

            People

            • Assignee:
              eyang Eric Yang
              Reporter:
              simonprewo Simon Prewo

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment