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

    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.002.patch
          3 kB
          Eric Yang
        2. YARN-8783.001.patch
          3 kB
          Eric Yang

        Activity

          People

            eyang Eric Yang
            simonprewo Simon Prewo
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: