[ 
https://issues.apache.org/jira/browse/YARN-8986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16694313#comment-16694313
 ] 

Charo Zhang commented on YARN-8986:
-----------------------------------

[~eyang] I know what your mean, it will use bridge network as default network 
type if ''--net" option don't exist for docker run. But in my opinion:
the default network is controlled by 
yarn.nodemanager.runtime.linux.docker.default-container-network for Yarn 
Docker, we should't consider Docker default network type. That's mean when 
network name is not specified( it 's same to "net" is null in command_config), 
it's better to use 
yarn.nodemanager.runtime.linux.docker.default-container-network value or add 
"--net=none".

> publish all exposed ports to random ports when using bridge network
> -------------------------------------------------------------------
>
>                 Key: YARN-8986
>                 URL: https://issues.apache.org/jira/browse/YARN-8986
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>          Components: yarn
>    Affects Versions: 3.1.1
>            Reporter: Charo Zhang
>            Assignee: Charo Zhang
>            Priority: Minor
>              Labels: Docker
>         Attachments: YARN-8986.001.patch, YARN-8986.002.patch, 
> YARN-8986.003.patch, YARN-8986.004.patch, YARN-8986.005.patch, 
> YARN-8986.006.patch
>
>
> it's better to publish all exposed ports to random ports(-P) or support port 
> mapping(-p) for bridge network when using bridge network for docker container.
>  



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

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

Reply via email to