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

Eric Yang commented on YARN-9003:
---------------------------------

Base on conversation with [~billie.rinaldi], docker container multi-homed 
network only works in one combination rule:

bridge + other (where other != host)

Bridge network must be the first network to be specified, otherwise, it doesn't 
work neither.  I opened [docker 
ticket|https://github.com/docker/for-linux/issues/542] to make sure that Docker 
intends to support multi-homed networks properly.  For my next patch, if more 
than one network is given, container-executor will verify both networks using 
the combination rule above.


> Support multi-homed network for docker container
> ------------------------------------------------
>
>                 Key: YARN-9003
>                 URL: https://issues.apache.org/jira/browse/YARN-9003
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>            Priority: Major
>              Labels: docker
>         Attachments: YARN-9003.001.patch, YARN-9003.002.patch, 
> YARN-9003.003.patch
>
>
> Docker network can be defined as configuration properties - docker.network to 
> setup docker container to connect to a specific network in YARN service.  
> Docker can run multi-homed network by specifying --net=bridge 
> --net=private-net.  This is useful to expose small number of  front end 
> container and ports, while the rest of the infrastructure runs in private 
> network.  This task is to add support for specifying multiple docker networks 
> to YARN service and docker support.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to