mirror of
https://github.com/budtmo/docker-android.git
synced 2026-02-06 19:36:46 +00:00
Update README with updated WSL2 nested virtualization setup
Updated instructions for configuring WSL2 on newer versions.
This commit is contained in:
parent
4459fffdb2
commit
8276bb56d2
@ -100,11 +100,15 @@ Credit goes to [Guillaume - The Parallel Interface blog](https://www.paralint.co
|
||||
```
|
||||
[boot]
|
||||
command = /bin/bash -c 'chown -v root:kvm /dev/kvm && chmod 660 /dev/kvm'
|
||||
```
|
||||
|
||||
Then, using PowerShell, open a notepad on `notepad $env:USERPROFILE\.wslconfig`. Inside, put these other flags:
|
||||
```
|
||||
[wsl2]
|
||||
nestedVirtualization=true
|
||||
```
|
||||
3. Restart WSL2 via CMD prompt or Powershell
|
||||
|
||||
4. Restart WSL2 via CMD prompt or Powershell
|
||||
```
|
||||
wsl --shutdown
|
||||
```
|
||||
@ -114,6 +118,8 @@ Credit goes to [Guillaume - The Parallel Interface blog](https://www.paralint.co
|
||||
|
||||
`nestedVirtualization` flag is only available to Windows 11.
|
||||
|
||||
If this setup does not work, you may have an old WSL version. In that case, ignore `\.wslconfig` and put everything on `/etc/wsl.conf`, including the `[wsl2]` flag.
|
||||
|
||||
Use-Cases
|
||||
---------
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user