Enabling network connectivity in WSL 2 windows and running docker in windows.

Praveen David Mathew
2 min readAug 29, 2021

Install wsl2:

follow the steps:

follow the manual steps in:

Note: RESTART your system after step 2 before proceeding to step 4 in above guide

After step 5 follow the below steps

Install distros:

we use Ubuntu 20.04 LTS

Launch Ubuntu:

launch Ubuntu by typing Ubuntu in start menu

setup the system by providing any username and password of your choice

Enabling network connectivity:

OK this is the tricky part ,

the hack I do is ,

  1. first switch the distros into wsl 1

--

--

Praveen David Mathew
Praveen David Mathew

Written by Praveen David Mathew

An open source advocator/WebdriverIO Projectcommiter/Postman Supernova/Postman-html-extra contributor/Stack overflow sqa moderator/Speaker

No responses yet