Skip to content

Instantly share code, notes, and snippets.

@washopilot
Last active September 9, 2024 02:52
Show Gist options
  • Save washopilot/6ca12930833e387567de1bfe4ef6155a to your computer and use it in GitHub Desktop.
Save washopilot/6ca12930833e387567de1bfe4ef6155a to your computer and use it in GitHub Desktop.
WSL2 best configuration & wsl.conf to start docker service (/etc/wsl.conf)
[wsl2]
memory=6GB
processors=8
swap=3GB
guiApplications=false
localhostforwarding=true
nestedVirtualization=false
debugConsole=false
networkingMode=NAT
[boot]
command="service docker status || service docker start"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment