Configure YARN for managing Docker containers

Use Cloudera Manager to configure YARN for managing Docker containers.

  • Install Docker binary to all hosts.
  • If cgroups are enabled, use the cgroupsfs cgroupsdriver for cgroups support.
  • Ensure that all host has running docker daemon
  1. In Cloudera Manager, select the YARN service.
  2. Select the Configuration tab.
  3. Find the Allowed Use Linux Container Executor to enabled.
  4. Search for Allowed Linux Runtimes and add docker to the list.
  5. Select the Docker on YARN filter under Category.
  6. Find the Enable Docker Containers property and select the role configuration groups on which you want to enable Docker containers.
  7. If you installed the Docker binaries to a different folder than the default, set the Docker Binary Path property to the applicable folder.
  8. Optionally you can do some fine-grained configuration using the other properties under the Docker on YARN filter.
  9. Click Save Changes.