Docker Installation in WSL

MaheshMahesh
1 min read

Hi Everyone,

Let's see how to install Linux on Windows. We can use Linux on Windows without needing to install VMware or the Ubuntu OS. We have an option called Windows Subsystem for Linux, which you can install from the Microsoft Store. It will handle everything else for you search for this application in Microsoft store and install it.

after installing we need to install an Docker Desktop

https://learn.microsoft.com/en-us/windows/wsl/install follow the instructions here

  • 🖥️ Docker Desktop (Windows): https://docs.docker.com/desktop/setup/install/windows-install/. After installation, open the command prompt and type docker. If you see options for Docker, the installation was successful.

  • and run the below command this is will work for you locally in normal command prompt

  • if you want to change the Docker setup to ubuntu try this below command to change

  • Voilà, it's done! You can connect to the Ubuntu prompt and work like a pro.

  • by the way you have to login with your docker credentials

0
Subscribe to my newsletter

Read articles from Mahesh directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Mahesh
Mahesh