Zhankun Tang created YARN-5394:
----------------------------------

             Summary: Correct the wrong file name when mounting /etc/passwd to 
Docker Container
                 Key: YARN-5394
                 URL: https://issues.apache.org/jira/browse/YARN-5394
             Project: Hadoop YARN
          Issue Type: Sub-task
          Components: yarn
            Reporter: Zhankun Tang
            Assignee: Zhankun Tang


Current LCE (DockerLinuxContainerRuntime) is mounting /etc/passwd to the 
container. But it seems to use wrong file name "/etc/password" for container.
{panel}
.addMountLocation("/etc/passwd", "/etc/password:ro");
{panel}
This causes LCE failed to launch the Docker container if the Docker images 
don't create the same user name and UID in it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-dev-h...@hadoop.apache.org

Reply via email to