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
669 stars 221 forks source link

apparmor_parser fail on ububut 18.04 #50

Open linuxemb opened 4 years ago

linuxemb commented 4 years ago

Hi I was trying to create a nfs server container follow you instruction, got failed here. $ sudo apparmor_parser -r -W /home/lshi/extra/docker/nfs-server-alpine/erichough-nfs

AppArmor parser error for /home/lshi/extra/docker/nfs-server-alpine/erichough-nfs in /home/lshi/extra/docker/nfs-server-alpine/erichough-nfs at line 3: Could not open 'abstractions/lxc/container-base'

----------------file erichough-nfs-------------------

include <tunables/global>

profile erichough-nfs flags=(attach_disconnected,mediate_deleted) {

include <abstractions/lxc/container-base>

mount fstype=nfs*,
mount fstype=rpc_pipefs,

}

ehough commented 3 years ago

Hello and my apologies for my terrible response time. This problem was mentioned in #23, and someone there reported that installing lxc resolved the parser error. Could you give that a try and let us know if it works for you? i.e. apt-get install lxc.

If it works for you, I'll update the docs accordingly. Thanks!

tcaselli commented 3 years ago

For my part I had this exact same error and apt-get install lxc fixed the problem. Thanks !

linuxemb commented 3 years ago

Thanks, I will give it a try

On Tue, Aug 18, 2020 at 6:40 PM tcaselli notifications@github.com wrote:

For my part I had this exact same error and apt-get install lxc fixed the problem. Thanks !

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ehough/docker-nfs-server/issues/50#issuecomment-675754602, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABBSOCXU73VN7XSKITCO6YLSBL7MVANCNFSM4N775SGQ .

--

Regards !

Lisa

buzink commented 10 months ago

I also had the same problem today and for me "apt-get install lxc" als worked. @ehough, could you maybe commit the PR for the docs? It will save us a google query :).