You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Greg Mann (JIRA)" <ji...@apache.org> on 2016/04/08 22:13:25 UTC

[jira] [Commented] (MESOS-5080) With NetworkManager off, can't seem to deploy docker containerized apps

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

Greg Mann commented on MESOS-5080:
----------------------------------

[~lax77], can you tell me if the following description of your issue is correct? You were successfully able to launch this Docker task on an agent with NetworkManager running on it. Then, you turned NetworkManager off on the agent. Then, you tried launching the same Docker task on the agent and it failed. Is that right?

How are you launching this Docker task? Is it via Marathon?

Is your Dockerfile mounting the locations of the network config files into the container? If my understanding is correct, if you're using the filesystem/linux isolator on the agent, then the host filesystem will be unavailable and your container won't be able to access those files. Perhaps [~jieyu] can provide some more thoughts on this?

> With NetworkManager off, can't seem to deploy docker containerized apps
> -----------------------------------------------------------------------
>
>                 Key: MESOS-5080
>                 URL: https://issues.apache.org/jira/browse/MESOS-5080
>             Project: Mesos
>          Issue Type: Bug
>          Components: docker
>    Affects Versions: 0.27.0
>         Environment: Centos 7.1
>            Reporter: Lax
>
> Mesos is unable to deploy docker container apps after switching NetworkManager service off.
>  
> Noticed none of the Host network config files (like hosts, hostname, resolv.conf, etc) were seen under the docker container dir (/var/lib/docker/containers/[container id]) if I provision the container thru mesos. Only files seen were config.json and hostconfig.json files. 
> However when I launch same container direct via docker run the issue is not seen. Container dir has all the network config files.
> Any reason why mesos unable to push those to the container dir? is there specific network setting needs enabled now that I have NetworkManager switched off?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)