From 2c81c21e57c3b01a58e4dc2960dda8752462cc6e Mon Sep 17 00:00:00 2001 From: Kenta Iso Date: Sat, 18 Apr 2020 21:45:03 +0900 Subject: [PATCH] fix apparmor trobleshooting to add original issue track --- site/content/en/docs/drivers/docker.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/site/content/en/docs/drivers/docker.md b/site/content/en/docs/drivers/docker.md index 0eccba2263..ad5949d0ce 100644 --- a/site/content/en/docs/drivers/docker.md +++ b/site/content/en/docs/drivers/docker.md @@ -36,8 +36,5 @@ The Docker driver allows you to install Kubernetes into an existing Docker insta - On Linux, if you want to run MySQL pod, you need to disable AppArmor for mysql profile - AppArmor is access control security system for Linux. This is enabled on Ubuntu by default. - If you machine enables AppArmor, you need to disable AppArmor for the mysql profile. - To disable apparmor for mysql, run the following command on host machine. - - `sudo ln -s /etc/apparmor.d/usr.sbin.mysqld /etc/apparmor.d/disable/ && sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld` + If your docker has [AppArmor](https://wiki.ubuntu.com/AppArmor) enabled, running mysql in privileged mode with docker driver will have the issue [#7401](https://github.com/kubernetes/minikube/issues/7401). + There is a workaround - see [moby/moby#7512](https://github.com/moby/moby/issues/7512#issuecomment-61787845).