mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2024-11-23 02:39:59 +08:00
add precommand for some commands and trim space.
This commit is contained in:
parent
bb1e992916
commit
3a98c0bcb5
@ -578,14 +578,14 @@ The result should be like this:
|
|||||||
nestedVirtualization=true
|
nestedVirtualization=true
|
||||||
```
|
```
|
||||||
|
|
||||||
Go into your WSL distro (Run `wsl` in powershell) and check if KVM is enabled by using the `kvm-ok` command. The output should look like this:
|
Go into your WSL distro (Run `wsl` in powershell) and use the command `sudo apt install cpu-checker` and check if KVM is enabled by using the `kvm-ok` command. The output should look like this:
|
||||||
|
|
||||||
```
|
```
|
||||||
INFO: /dev/kvm exists
|
INFO: /dev/kvm exists
|
||||||
KVM acceleration can be used
|
KVM acceleration can be used
|
||||||
```
|
```
|
||||||
|
|
||||||
Use the command `sudo apt -y install bridge-utils cpu-checker libvirt-clients libvirt-daemon qemu qemu-kvm` to install it if it isn't.
|
First update apt `sudo apt-get update`, then use the command `sudo apt -y install bridge-utils cpu-checker libvirt-clients libvirt-daemon qemu qemu-kvm` to install it if it isn't.
|
||||||
|
|
||||||
Now download and install [Docker for Windows](https://docs.docker.com/desktop/windows/install/) if it is not already installed.
|
Now download and install [Docker for Windows](https://docs.docker.com/desktop/windows/install/) if it is not already installed.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user