[jira] [Commented] (MESOS-3003) Support mounting in default configuration files/volumes into every new container

2016-03-24 Thread Jie Yu (JIRA)

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

Jie Yu commented on MESOS-3003:
---

I'm closing this ticket because all the network related /etc/* files should be 
handled by the network isolator because it (and only it) knows about the ip, 
hostname information. Mounting in host /etc/* files blindly does not make sense.

> Support mounting in default configuration files/volumes into every new 
> container
> 
>
> Key: MESOS-3003
> URL: https://issues.apache.org/jira/browse/MESOS-3003
> Project: Mesos
>  Issue Type: Improvement
>  Components: containerization
>Reporter: Timothy Chen
>Assignee: Gilbert Song
>  Labels: mesosphere, unified-containerizer-mvp
>
> Most container images leave out system configuration (e.g: /etc/*) and expect 
> the container runtimes to mount in specific configurations as needed such as 
> /etc/resolv.conf from the host into the container when needed.
> We need to support mounting in specific configuration files for command 
> executor to work, and also allow the user to optionally define other 
> configuration files to mount in as well via flags.



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


[jira] [Commented] (MESOS-3003) Support mounting in default configuration files/volumes into every new container

2016-01-08 Thread Timothy Chen (JIRA)

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

Timothy Chen commented on MESOS-3003:
-

I think following what libcontainer/runc does, we should create a list of etc 
files to mount (ie: etc/host and etc/resolv.conf) in the container when we see 
that /etc is not mounted already from the host.
For now I think this should be suffice and we need to test different containers 
to see is there any more configuration files that we need to pass in.

> Support mounting in default configuration files/volumes into every new 
> container
> 
>
> Key: MESOS-3003
> URL: https://issues.apache.org/jira/browse/MESOS-3003
> Project: Mesos
>  Issue Type: Improvement
>  Components: containerization
>Reporter: Timothy Chen
>  Labels: mesosphere, unified-containerizer-mvp
>
> Most container images leave out system configuration (e.g: /etc/*) and expect 
> the container runtimes to mount in specific configurations as needed such as 
> /etc/resolv.conf from the host into the container when needed.
> We need to support mounting in specific configuration files for command 
> executor to work, and also allow the user to optionally define other 
> configuration files to mount in as well via flags.



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


[jira] [Commented] (MESOS-3003) Support mounting in default configuration files/volumes into every new container

2015-07-17 Thread Timothy Chen (JIRA)

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

Timothy Chen commented on MESOS-3003:
-

Hi [~jieyu], no design is there yet just creating the issue for the need. I 
think we're still going to support the default_container_info for now until we 
know what we want from this, which I need to talk to [~idownes] to make sure we 
satisify both image provisioning needs.

> Support mounting in default configuration files/volumes into every new 
> container
> 
>
> Key: MESOS-3003
> URL: https://issues.apache.org/jira/browse/MESOS-3003
> Project: Mesos
>  Issue Type: Improvement
>  Components: containerization
>Reporter: Timothy Chen
>  Labels: mesosphere
>
> Most container images leave out system configuration (e.g: /etc/*) and expect 
> the container runtimes to mount in specific configurations as needed such as 
> /etc/resolv.conf from the host into the container when needed.
> We need to support mounting in specific configuration files for command 
> executor to work, and also allow the user to optionally define other 
> configuration files to mount in as well via flags.



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


[jira] [Commented] (MESOS-3003) Support mounting in default configuration files/volumes into every new container

2015-07-17 Thread Jie Yu (JIRA)

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

Jie Yu commented on MESOS-3003:
---

Do you guys have any design on this yet (e.g., what flags are you going to 
create)?

Also, are you going to retire --default_container_info flag because the 
framework might just specify the container info and you still need to append 
some volumes from the host? Also, there some other issues related to 
default_container_info which hasn't been resolved yet:
https://issues.apache.org/jira/browse/MESOS-2463
https://reviews.apache.org/r/25549/

> Support mounting in default configuration files/volumes into every new 
> container
> 
>
> Key: MESOS-3003
> URL: https://issues.apache.org/jira/browse/MESOS-3003
> Project: Mesos
>  Issue Type: Improvement
>  Components: containerization
>Reporter: Timothy Chen
>  Labels: mesosphere
>
> Most container images leave out system configuration (e.g: /etc/*) and expect 
> the container runtimes to mount in specific configurations as needed such as 
> /etc/resolv.conf from the host into the container when needed.
> We need to support mounting in specific configuration files for command 
> executor to work, and also allow the user to optionally define other 
> configuration files to mount in as well via flags.



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