obeone / docker-nfs-server

A lightweight, robust, flexible, and containerized NFS server.
https://hub.docker.com/r/obeoneorg/nfs-server/
GNU General Public License v3.0
16 stars 8 forks source link

rpc_pipefs mount fails... #11

Closed alaricljs closed 4 months ago

alaricljs commented 4 months ago

SYS_ADMIN and SYS_MODULE are applied, modules get auto-loaded

nfs-1  | ----> mounting rpc_pipefs filesystem onto /var/lib/nfs/rpc_pipefs
nfs-1  | mount: mount('rpc_pipefs','/var/lib/nfs/rpc_pipefs','rpc_pipefs',0x00008000,'(null)'):-1: Permission denied
nfs-1  | mount: mount('rpc_pipefs','/var/lib/nfs/rpc_pipefs','rpc_pipefs',0x00008001,'(null)'):-1: Permission denied
nfs-1  | mount: mounting rpc_pipefs on /var/lib/nfs/rpc_pipefs failed: Permission denied
nfs-1  | ---->
nfs-1  | ----> ERROR: unable to mount rpc_pipefs filesystem onto /var/lib/nfs/rpc_pipefs

What else can I look for to figure out what the problem is?

alaricljs commented 4 months ago

Probably unsurprisingly, but 'privileged: true' gets me there. I'd rather not tho.

alaricljs commented 4 months ago

Oh hell... not familiar enough with Proxmox it looks like I have to struggle with AppArmor

alaricljs commented 4 months ago

decided to go with

    security_opt:
      - apparmor=unconfined