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

Jie Yu commented on MESOS-5806:
-------------------------------

commit b1f71f1ba6c672982e84d4e607288537abed41c7
Author: Qian Zhang <[email protected]>
Date:   Fri Jul 15 14:31:58 2016 -0700

    Enhancement for containers which have image and join host network.
    
    For the containers which have image and join host network, we enhanced
    'network/cni' isolator to make sure they have access to host /etc/hosts
    , /etc/hostname and /etc/resolv.conf files.
    
    Review: https://reviews.apache.org/r/50065/

> 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
>            Reporter: Jie Yu
>            Assignee: Qian Zhang
>
> 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)

Reply via email to