Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-3611 Support Docker Containers In LinuxContainerExecutor
  3. YARN-7814

Remove automatic mounting of the cgroups root directory into Docker containers

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.1.0
    • None
    • Reviewed

    Description

      Currently, all Docker containers launched by DockerLinuxContainerRuntime get /sys/fs/cgroup automatically mounted. Now that user supplied mounts (YARN-5534) are in, containers that require this mount can request it (with a properly configured mount whitelist).

      I propose we remove the automatic mounting of /sys/fs/cgroup into Docker containers.

      Attachments

        1. YARN-7814.001.patch
          4 kB
          Shane Kumpf
        2. YARN-7814.002.patch
          4 kB
          Shane Kumpf

        Issue Links

          Activity

            People

              shanekumpf@gmail.com Shane Kumpf
              shanekumpf@gmail.com Shane Kumpf
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: