You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Haibo Chen (JIRA)" <ji...@apache.org> on 2018/03/28 17:02:00 UTC

[jira] [Resolved] (YARN-3988) DockerContainerExecutor should allow user specify "docker run" parameters

     [ https://issues.apache.org/jira/browse/YARN-3988?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Haibo Chen resolved YARN-3988.
------------------------------
    Resolution: Won't Fix

Closing this as DockerContainerExecutor has been deprecated in branch-2 and removed in trunk

> DockerContainerExecutor should allow user specify "docker run" parameters
> -------------------------------------------------------------------------
>
>                 Key: YARN-3988
>                 URL: https://issues.apache.org/jira/browse/YARN-3988
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: nodemanager
>    Affects Versions: 2.7.1
>            Reporter: Chen He
>            Assignee: Chen He
>            Priority: Major
>
> In current DockerContainerExecutor, the "docker run" command has fixed parameters:
> String commandStr = commands.append(dockerExecutor)
>       .append(" ")
>       .append("run")
>       .append(" ")
>       .append("--rm --net=host")
>       .append(" ")
>       .append(" --name " + containerIdStr)
>       .append(localDirMount)
>       .append(logDirMount)
>       .append(containerWorkDirMount)
>       .append(" ")
>       .append(containerImageName)
>       .toString();
> For example, it is not flexible if users want to start a docker container with attaching extra volume(s) and other "docker run" parameters. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org