This JIRA is forking an idea proposed in YARN-3854 to manage trusted docker images on HDFS. YARN-3854 is going to focus on rearranging the node manager and container-executor logic to download docker image during file localization phase for better error handling and reporting. The new proposal is to create a docker container which host Docker registry and NFS gateway, and configure docker images to store on HDFS. The docker container can run in YARN framework to serve as privileged or trusted registries.
HDFS_Docker_registry_design.png describes the components required to create a docker image that can store docker images on HDFS.
Deploy_HDFS_Docker_registry_workflow.png describes the operation to perform to setup a trusted docker registry that write to HDFS.