Skip to content

Commit 211a727

Browse files
Merge pull request #2196 from MicrosoftDocs/main
Main to live PR
2 parents 380e713 + 97be799 commit 211a727

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

WSL/wsl-config.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,23 @@ wsl.conf section label: `[boot]`
134134
| Key | Value | Default | Notes |
135135
|:----|:----|:----|:----|
136136
| `command` | string | `""` | A string of the command that you would like to run when the WSL instance starts. This command is run as the root user. e.g: `service docker start`. |
137+
| `protectBinfmt` | boolean | `true` | Prevents WSL from generating systemd units when systemd is enabled. |
138+
139+
### GPU settings
140+
141+
wsl.conf section label: `[gpu]`
142+
143+
| Key | Value | Default | Notes |
144+
|:----|:----|:----|:----|
145+
| `enabled` | boolean | `true` | Allow Linux applications to access the Windows GPU via para-virtualization. |
146+
147+
### Time settings
148+
149+
wsl.conf section label: `[time]`
150+
151+
| Key | Value | Default | Notes |
152+
|:----|:----|:----|:----|
153+
| `useWindowsTimezone` | boolean | `true` | Setting this key will make WSL use and sync to the timezone set in Windows. |
137154

138155
### Example wsl.conf file
139156

0 commit comments

Comments
 (0)