Skip to content

Instantly share code, notes, and snippets.

View bearandhammer's full-sized avatar
😃
Coding and happy!

Lewis Grint bearandhammer

😃
Coding and happy!
  • Attleborough, Norfolk
View GitHub Profile
@bearandhammer
bearandhammer / .wslconfig
Created April 10, 2022 18:26
A set of utility files for using Docker on Windows using WSL 2 (with a sample docker-compose to get started).
# 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=2GB
# Sets the VM to use two virtual processors
processors=2
# Turn off default connection to bind WSL 2 localhost to Windows localhost