[
https://issues.apache.org/jira/browse/YARN-8986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16696123#comment-16696123
]
Eric Yang commented on YARN-8986:
---------------------------------
[~liuxun323] Docker container can support one bridge network, and one overlay
network. There is a patch available in YARN-9003. For the container that is
going to expose Tensorflow dashboard, run it with docker.network=bridge,calico
[~Charo Zhang] Please do not overwrite patches. It is difficult to track what
has changed between two version of patch 008. It looks like two unit tests
need to be changed. TestDockerUtil.test_docker_run_privileged and
TestDockerUtil.test_docker_run_no_privileged both have tests that use
net=bridge. It is safe to remove network device from those tests while
maintain correctness of those tests.
> 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, YARN-8986.007.patch, YARN-8986.008.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: [email protected]
For additional commands, e-mail: [email protected]