[lxc-users] NFS share mount inside container not working

Tycho Andersen tycho.andersen at canonical.com
Wed Mar 30 13:34:43 UTC 2016


On Wed, Mar 30, 2016 at 06:24:36PM +0530, Mahesh Patade wrote:
> Hi,
> 
> I am trying to mount nfs share inside container but getting below error.
> 
> $ mount 172.29.141.131:/video-process /srv/
> *mount.nfs: Operation not permitted*

The default apparmor profile prohibits lots of kinds of mounts. If you
enable nesting in the container, that allows all mounts (for now) and
it should work.

Tycho

> 
> --
> Thanks
> Mahesh

> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users



More information about the lxc-users mailing list