thumbnail

DDEV/Docker/WSL2

Step 1:

Navigate to the link at the end of this step. Select which operating system you are using (Mac, Windows, linux) and follow the instructions provided: you will need to select Windows, and then ‘Using WSL2 with Docker Desktop’

I RIPPED THE INSTRUCTIONS RIGHT FROM THIS LINK, IT MAY BE MORE UP TO DATE THAN THIS DOCUMENT:

DDEV Installation - DDEV Docs

Step 2: Install Ubuntu

https://www.microsoft.com/store/productId/9PDXGNCFSCZV?ocid=pdpshare

Step 3: Restart your computer

Step 4:

Open Windows power shell, paste the following: wsl -l -v

Verify that you have

Step 5: Install Docker

Docker Desktop: The #1 Containerization Tool for Developers | Docker

Step 6: Start docker desktop

In Docker Desktop → Settings → Resources → WSL2 Integration, verify that Docker Desktop is integrated with your distro.

Step 7: ADMINISTRATOR POWERSHELL

Please do not forget to right click powershell and ‘run as administrator’

Paste this script in and wait:

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072;

iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/ddev/ddev/master/scripts/install_ddev_wsl2_docker_desktop.ps1'))

Step 8: Open Ubuntu and start kicking ass


Thanks for reading!

Let me know what you think on github