Article 5AE0D How to either disable or fix Apparmor?

How to either disable or fix Apparmor?

by
berndbausch
from LinuxQuestions.org on (#5AE0D)
I am running Ubuntu 16.04 on a tiny ARM v7 server (Odroid C1+). Trying to launch Docker's helloworld container, I get this error message:
Code:docker: Error response from daemon: Could not check if docker-default AppArmor profile was loaded: open /sys/kernel/security/apparmor/profiles: no such file or directory.aa-status reports
Code:$ aa-status
apparmor module is loaded.
Could not open /sys/kernel/security/apparmor/profiles: No such file or directoryIt is true that /sys/kernel/security/apparmor exists, but not /sys/kernel/security/apparmor/profiles. The only subdirectory is features.

My goal is to use Docker. I know very little about Apparmor and am not really interested in it right now.
I tried systemctl stop apparmor to switch it off, and apt install apparmor-profiles to fix it, but to now avail. I also wanted to remove the apparmor package, but this would remove snapd as a dependency, and I fear this could break something.

How can I disable Apparmor entirely, or create /sys/kernel/security/apparmor/profiles?latest?d=yIl2AUoC8zA latest?i=U9jQJ3bXKB8:BDv9GI2Xjjg:F7zBnMy latest?i=U9jQJ3bXKB8:BDv9GI2Xjjg:V_sGLiP latest?d=qj6IDK7rITs latest?i=U9jQJ3bXKB8:BDv9GI2Xjjg:gIN9vFwU9jQJ3bXKB8
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments