How we set our development environment with WSL2 and docker

Photo by Saad Salim on Unsplash

Configure WSL2

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
wsl --set-default-version 2

Install a Linux distribution

wsl --list --verbose

Install Docker

> docker -v

References:

--

--

--

Software Engineer | Technical Writer | IT Enthusiast

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Top 8 Benefits Of The Reverse Proxy | Local Proxies

Leverj Futures Order Types

Code Smell 127 — Mutable Constants

Code Smell 73 — Exceptions for Expected Cases

Fantastic Data Pipelines and Where to Find Them

Fantastic Data Pipelines and Where to Find Them

Cloning Of Dating App (Hinge) in just 3 days.

How to Hire Expert and Experienced Python Developers for Your Project

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Aicha Fatrah

Aicha Fatrah

Software Engineer | Technical Writer | IT Enthusiast

More from Medium

Working with dynamically created USB devices in Docker

How I build a crypto bot with Python, Docker, Rancher, Azure Devops and ArgoCD

Set up configs like memory limits in Docker for Windows and WSL2

The Guide to Docker ARG, ENV and .env