Enable nfs mount on LXC container

MikeC

Renowned Member
Jan 11, 2016
79
0
71
Bay Area, California
Hello all.

I need to be able to mount a volume from a host that is not on the proxmox server onto an lxc container.
Whenever I try, I get:

root@trin6:~# mount -t cifs -o user=admin //192.168.1.15/Applications /mnt/mymnt
mount: //192.168.1.15/Applications is write-protected, mounting read-only
mount: cannot mount //192.168.1.15/Applications read-only

I can use this same command on the proxmox server itself and it works fine.
No matter which mount I use, or how it's shared from the host, I get the same error in the container.
What do I have to do to enable this on the container itself?
I've seen posts that say, "use vxctl and add feature 'nfs:on'", however there is no vzctl any longer, and none of the lxc-* commands look to provide that same service.

So, how can I do this on prox 4.x?

Thanks