ehough / docker-nfs-server

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

can't mount rpc_pipefs #11

Closed s13n closed 5 years ago

s13n commented 5 years ago

I tried unsuccessfully to run the nfs-server image on an up-to-date Ubuntu LTS 18.04 host. The setup is pretty similar to the example given in the Usage section of the docs.

There appears to be a problem with the mounting of a file system.

The docker run command is: $ docker run -v /srv/nfs:/nfs -v /srv/exports.nfs:/etc/exports:ro --cap-add SYS_ADMIN -p 2049:2049 erichough/nfs-server

Its output: ... mount: rpc_pipefs is write-protected, mounting read-only mount: cannot mount rpc_pipefs read-only ...

ehough commented 5 years ago

At first glance this looks like a duplicate of #5, which occurs when AppArmor is enabled on the Docker host. Is that the case with you? If so, check out these instructions for the solution.

Let us know!

ehough commented 5 years ago

@s13n were you able to resolve this issue? Just checking in.