Tuesday, 7 May 2024

Config WSL in window

Edit file C:\Users\<User_name>\.wslconfig

[wsl2]
memory=16GB
processors=4
swap=20GB
swapFile==C:\\temp\\wsl-swap.vhdx
[experimental]
sparseVhd=true
localhostForwarding=true

// localhostForwarding=true for using access 2 domain in same container

Refference

- https://learn.microsoft.com/en-us/windows/wsl/wsl-config

Thank you

No comments:

Post a Comment

Golang Advanced Interview Q&A