fix apparmor trobleshooting to add original issue track
parent
b5b73e43c3
commit
2c81c21e57
|
@ -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).
|
||||
|
|
Loading…
Reference in New Issue