[ https://issues.apache.org/jira/browse/MESOS-4922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15237726#comment-15237726 ]
Jie Yu commented on MESOS-4922: ------------------------------- commit 2d75778557d3d29291c4ec98d00d6784010be769 Author: Avinash sridharan <avin...@mesosphere.io> Date: Tue Apr 12 09:02:39 2016 -0700 Added `subcommand` to `network/cni` isolator. The `subcommand` allow configuring the container hostname and setting up network files in the container such as /etc/hosts, /etc/hostname, /etc/resolv.conf. This will allow for correct name to IP resolution within the container network namespace. Review: https://reviews.apache.org/r/45954/ > Setup proper /etc/hostname, /etc/hosts and /etc/resolv.conf for containers in > network/cni isolator. > --------------------------------------------------------------------------------------------------- > > Key: MESOS-4922 > URL: https://issues.apache.org/jira/browse/MESOS-4922 > Project: Mesos > Issue Type: Bug > Components: isolation > Reporter: Qian Zhang > Assignee: Avinash Sridharan > Labels: mesosphere > > The network/cni isolator needs to properly setup /etc/hostname and /etc/hosts > for the container with a hostname (e.g., randomly generated) and the assigned > IP returned by CNI plugin. > We should consider the following cases: > 1) container is using host filesystem > 2) container is using a different filesystem > 3) custom executor and command executor -- This message was sent by Atlassian JIRA (v6.3.4#6332)