fix apparmor trobleshooting to add original issue track

pull/7761/head
Kenta Iso 2020-04-18 21:45:03 +09:00
parent b5b73e43c3
commit 2c81c21e57
1 changed files with 2 additions and 5 deletions

View File

@ -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).