[lxc-users] NFS inside unprivileged containers

Geaaru geaaru at gmail.com
Sat Sep 24 22:40:32 UTC 2016


Ok, thank you very much for reply.
G.

On Sat, 2016-09-24 at 12:00 +0100, Matt Green wrote:
> > I never managed to get it to work. I had to mount it on the host and
then map it in.
> This was in LXC, I haven't tried in LXD.
> 
> > On 24 September 2016 at 11:35, Geaaru <geaaru at gmail.com> wrote:
> > Hi,
> > 
> > 
> > > > i'm trying to understand if it is possible mount NFS mountpoint
inside
> > 
> > unprivileged containers. Currently, I receive this error:
> > 
> > 
> > 
> > mount.nfs: Operation not permitted
> > 
> > 
> > 
> > > > I'm sure that problem is related to a permission problem, on
privileged
> > 
> > container all works fine.
> > 
> > 
> > 
> > Could be sufficient add lxc.mount.entry related to NFS kernel
> > 
> > resourses?
> > 
> > 
> > 
> > What is the best practise for this?
> > 
> > 
> > 
> > I haven't apparmon enabled on my env.
> > 
> > 
> > 
> > Thanks in advance.
> > 
> > 
> > 
> > G.
> > 
> > _______________________________________________
> > 
> > lxc-users mailing list
> > 
> > lxc-users at lists.linuxcontainers.org
> > 
> > http://lists.linuxcontainers.org/listinfo/lxc-users
> 
> 
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20160925/aeb5a83c/attachment.html>


More information about the lxc-users mailing list