[lxc-users] NFS inside unprivileged containers

Matt Green mephi at mephi.co.uk
Sat Sep 24 11:00:27 UTC 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20160924/5e9451b8/attachment.html>


More information about the lxc-users mailing list