Update readme.md

This commit is contained in:
Kroese 2024-06-09 14:01:07 +02:00 committed by GitHub
parent 431976dee4
commit 8157788f10
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -142,14 +142,16 @@ kubectl apply -f kubernetes.yml
* ### How do I verify if my system supports KVM?
To verify if your system supports KVM, run the following commands:
To verify that your system supports KVM, run the following commands:
```bash
sudo apt install cpu-checker
sudo kvm-ok
```
If you receive an error from `kvm-ok` indicating that KVM acceleration can't be used, check the virtualization settings in the BIOS.
If you receive an error from `kvm-ok` indicating that KVM acceleration can't be used, check whether the virtualization extensions (`Intel VT-x` or `AMD SVM`) are enabled in your BIOS. If you are running the container inside a VM instead of directly on the host, you will also need to enable nested virtualization in its settings. If you are using a cloud provider, you may be out of luck as most of them do not allow nested virtualization for their VPS's. If you are using Windows 10 or MacOS, you are also out of luck, as only Linux and Windows 11 support KVM.
If you don't receive any error from `kvm-ok` at all, but the container still complains that `/dev/kvm` is missing, it might help to add `privileged: true` to your compose file (or `--privileged` to your `run` command), to rule out any permission issue.
* ### How do I assign an individual IP address to the container?