You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A bit of a spontaneous round of edits.
I'm open to discussion if anything seems off or is unwanted. Thank you!
* Spelling: ontop >> on top
* Spelling: virtualisation >> virtualization (since the latter appears
most often in the MD)
* Formatting: use bullets for reference links (so they don't mush into a
single line)
* Formatting: change case of PowerShell to be titlecase
* Formatting: titlecase Markdown headers
* Formatting: combine two adjacent MD code fences into one code fence
(same syntax/language)
*Note: I plan to give the MD another re-read or two to see if there are
any other tweaks.*
At this point restart your computer. After it has rebooted download the latest WSL2 kernel. [Download link](https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi).
69
67
70
68
Follow the installation wizard. After completion finally set WSL2 as the default version of WSL.
71
69
72
-
In powershell or command prompt paste the following:
70
+
In PowerShell or command prompt paste the following:
73
71
74
72
```powershell
75
73
wsl --set-default-version 2
76
74
```
77
75
78
-
## Version check
76
+
## Version Check
79
77
80
-
Run `wsl --version` in powershell or command prompt to ensure WSL2 is enabled. The WSL version number should be 2.4.4.0 or higher.
78
+
Run `wsl --version` in PowerShell or command prompt to ensure WSL2 is enabled. The WSL version number should be 2.4.4.0 or higher.
**Ensure WSL is enabled and you have WSL 2.4.4 or newer. See the [version check](#version-check) instructions.**
96
94
@@ -103,7 +101,7 @@ Windows version: 10.0.19044.5131
103
101
104
102
3. From the start menu you can launch the distribution from a new 'Containerlab' shortcut which has been added.
105
103
106
-
or in powershell/cmd you can execute:
104
+
or in PowerShell/cmd you can execute:
107
105
108
106
```powershell
109
107
wsl -d Containerlab
@@ -133,7 +131,7 @@ Windows version: 10.0.19044.5131
133
131
134
132
- From the profile in Windows Terminal (recommended).
135
133
- From the shortcut in the start menu.
136
-
- Executing `wsl -d Containerlab` in powershell or command prompt.
134
+
- Executing `wsl -d Containerlab` in PowerShell or command prompt.
137
135
138
136
> [!NOTE]
139
137
> Opening WSL via the shortcut or `wsl -d Containerlab` will not
@@ -145,7 +143,7 @@ Windows version: 10.0.19044.5131
145
143
> [!IMPORTANT]
146
144
> This feature is only supported on Windows 11.
147
145
148
-
You can run [vrnetlab (VM-based)](https://github.com/hellt/vrnetlab) nodes ontop of WSL2 and use them in containerlab. Containerlab WSL is already configured so that nested virtualisation is enabled on the distro side.
146
+
You can run [vrnetlab (VM-based)](https://github.com/hellt/vrnetlab) nodes on top of WSL2 and use them in containerlab. Containerlab WSL is already configured so that nested virtualization is enabled on the distro side.
149
147
150
148
To use vrnetlab nodes on Containerlab WSL you must <u>ensure that nested virtualization is enabled globally in WSL</u>.
151
149
@@ -155,7 +153,7 @@ To use vrnetlab nodes on Containerlab WSL you must <u>ensure that nested virtual
155
153
156
154
See the [containerlab user manual](https://containerlab.dev/manual/vrnetlab/) for more information about vrnetlab.
157
155
158
-
# Performance tuning
156
+
# Performance Tuning
159
157
160
158
WSL2 runs as a VM. By default allocated resources are:
161
159
@@ -167,7 +165,7 @@ WSL2 runs as a VM. By default allocated resources are:
167
165
168
166
Despite the fairly generous resource allocation by default. WSL2 will not use 100% of the assigned resources.
169
167
170
-
# Docker desktop
168
+
# Docker Desktop
171
169
172
170
If you have Docker desktop installed. You **must** ensure the integration with the Containerlab WSL distro is disabled, otherwise Containerlab will not work inside Containerlab WSL.
173
171
@@ -212,7 +210,7 @@ Clone the repository and build using the build script (you may have to `chmod +x
212
210
213
211
This will place `clab.wsl` in `C:\temp`. Doubleclick to install the distribution.
0 commit comments