Skip to content

Instantly share code, notes, and snippets.

@firas-jolha
Last active January 21, 2023 08:17
Show Gist options
  • Save firas-jolha/097d188a9b25179f9906d67fbf652d5c to your computer and use it in GitHub Desktop.
Save firas-jolha/097d188a9b25179f9906d67fbf652d5c to your computer and use it in GitHub Desktop.
Configuring HDP Sandbox resources via .wslconfig for Docker in Windows
# NOTE: This should be stored in %UserProfile% folder which is your home folder c:/Users/<Username> in Windows
# Settings apply across all Linux distros running on WSL 2
[wsl2]
# Limits VM memory to use no more than 4 GB, this can be set as whole numbers using GB or MB
memory=4GB
# Sets the VM to use four virtual processors
processors=4
# Sets amount of swap storage space to 0, default is 25% of available RAM
swap=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment