[ 
https://issues.apache.org/jira/browse/MESOS-5229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joshua Cohen updated MESOS-5229:
--------------------------------
    Description: 
When using an image to represent a container's file system, it's currently not 
possible to mount a single file into the filesystem. I had to resort to adding 
{{RUN touch /path/to/my/file}} in my Dockerfile in order to get the filesystem 
provisioned properly.

It would be great if this wasn't necessary. Even better would be if Mesos would 
create all mount points on demand, rather than requiring them to be present in 
the container filesystem (c.f. 
https://github.com/apache/mesos/blob/master/src/slave/containerizer/mesos/isolators/filesystem/linux.cpp#L522-L527)

  was:
When using an image to represent a container's file system, it's currently not 
possible to mount a single file into the filesystem. I had to resort to adding 
`RUN touch /path/to/my/file` in my Dockerfile in order to get the filesystem 
provisioned properly.

It would be great if this wasn't necessary. Even better would be if Mesos would 
create all mount points on demand, rather than requiring them to be present in 
the container filesystem (c.f. 
https://github.com/apache/mesos/blob/master/src/slave/containerizer/mesos/isolators/filesystem/linux.cpp#L522-L527)


> Mesos containerizer should support file mounts
> ----------------------------------------------
>
>                 Key: MESOS-5229
>                 URL: https://issues.apache.org/jira/browse/MESOS-5229
>             Project: Mesos
>          Issue Type: Task
>          Components: containerization
>            Reporter: Joshua Cohen
>
> When using an image to represent a container's file system, it's currently 
> not possible to mount a single file into the filesystem. I had to resort to 
> adding {{RUN touch /path/to/my/file}} in my Dockerfile in order to get the 
> filesystem provisioned properly.
> It would be great if this wasn't necessary. Even better would be if Mesos 
> would create all mount points on demand, rather than requiring them to be 
> present in the container filesystem (c.f. 
> https://github.com/apache/mesos/blob/master/src/slave/containerizer/mesos/isolators/filesystem/linux.cpp#L522-L527)



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

Reply via email to