add docs about container type

pull/7984/head
Medya Gh 2020-05-02 19:57:19 -07:00
parent bcecda8e20
commit 7cf9da3d72
1 changed files with 7 additions and 0 deletions

View File

@ -34,7 +34,14 @@ The Docker driver allows you to install Kubernetes into an existing Docker insta
- Run `--alsologtostderr -v=1` for extra debugging information
- On Windows, make sure you Docker's container type is Linux and not windows. see docker docs on [switching container type](https://docs.docker.com/docker-for-windows/#switch-between-windows-and-linux-containers).
You can verify your Docker container type by running:
```shell
docker info --format '{{.OSType}}'
```
- On Linux, if you want to run MySQL pod, you need to disable AppArmor for mysql profile
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).