Re: NFS


Amit Kumar Gupta
 

If you push a docker container via cf ((not directly to Diego API) it's
hard coded to run unprivileged.

Set this to true:

https://github.com/cloudfoundry-incubator/nsync/blob/master/recipebuilder/docker_recipe_builder.go#L134

Set the "url" for the Diego release in your manifest to
"file:///PATH-TO-DIEGO-REPO" and the version to "create", this will create,
upload, and use your local release next time you bosh deploy.

Cheers,
Amit

On Monday, March 21, 2016, Guillaume Berche <bercheg(a)gmail.com> wrote:

Hi Ted,

What's the procedure to enable privileged containers in a CF deployment ?
I could not yet find related properties in diego-release, or
garden-linux-release.

Do I understand correctly from [1] that applications pushed through
buildpack run in privileged containers by default and hence can use FUSE
clients, whereas docker-based CF apps run in non-priviledged containers [2]
?

Thanks in advance,

Guillaume.

[1]
https://github.com/cloudfoundry-incubator/nsync/blob/7902bea3fb2b028e05dfdcfd511b8368e14e460f/recipebuilder/buildpack_recipe_builder_test.go#L115
[2]
https://github.com/cloudfoundry-incubator/nsync/blob/5ea94c17eba4be1cd388f9fed57eaf6186932e34/recipebuilder/docker_recipe_builder_test.go#L151


Guillaume.

On Tue, Mar 15, 2016 at 10:29 PM, Ted Young <tyoung(a)pivotal.io
<javascript:_e(%7B%7D,'cvml','tyoung(a)pivotal.io');>> wrote:

Hi Raymond,

It is possible to use FUSE-based clients to connect to remote
filesystems, but only if your Cloud Foundry deployment has enabled
privileged containers.

We are currently working on adding volume management to Cloud Foundry.
NFS and other distributed filesystems will be available as services,
allowing access without the need for privileged containers or FUSE.

Thanks,
Ted

On Tue, Mar 15, 2016 at 1:21 PM, Raymond J Steele <
raymondsteele(a)gmail.com
<javascript:_e(%7B%7D,'cvml','raymondsteele(a)gmail.com');>> wrote:

Can a cloud foundry application make us of Network Filesystem share? If
so, would this scale?

Thanks,

Raymond

Join {cf-dev@lists.cloudfoundry.org to automatically receive all group messages.