[
https://issues.apache.org/jira/browse/MESOS-5806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15382827#comment-15382827
]
Jie Yu commented on MESOS-5806:
-------------------------------
Re-open this one since i got this error on CoreOS host:
{noformat}Failed to launch container: Collect failed: Failed to setup hostname
and network files: Unable to find '/etc/hosts'{noformat}
> CNI isolator should prepare network related /etc/* files for containers using
> host mode but specify container images.
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: MESOS-5806
> URL: https://issues.apache.org/jira/browse/MESOS-5806
> Project: Mesos
> Issue Type: Bug
> Components: containerization, network
> Reporter: Jie Yu
> Assignee: Qian Zhang
> Labels: mesosphere
> Fix For: 1.0.0
>
>
> Currently, the CNI isolator will just ignore those containers that want to
> join the host network (i.e., not specifying NetworkInfo). However, if the
> container specifies a container image, we need to make sure that it has
> access to host /etc/* files. We should perform the bind mount for the
> container. This is also what docker does when a container is running in host
> mode.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)