Using WSL in Docker Desktop

Installing Docker Desktop with WSL backend

In order to increase the performance of ur apps running in containers, we can enable the WSL2 Backend in Docker Desktop for Windows. Being that it's a full Linux kernel, Linux containers can run natively without emulation. More detail here.

Follow these three steps (video walkthrough above):

  1. Install Docker Desktop
  2. Check "Use the WSL 2 based engine" in Docker Desktop Settings
  3. Go to Resources > WSL Integrations and Enable integration with your existing distributions