Docker : Installation on Windows – resolving error – WSL2 Installation is incomplete.

Installing Docker for Desktop for Windows on Windows
Installing Docker for Desktop for Windows on Windows

Hi All,

Greetings for the day 🙂 LIFE IS BEAUTIFUL 🙂

As I am exploring Docker concepts, so keep sharing the details and my learning 🙂

Today again small but important step to proceed with Docker

Recently I got an opportunity to explore Docker Registry, and this time I am trying on my Windows box (rather Linux) 🙂 Next article is ready for Docker registry concept and details, will share soon 🙂

In one of our previous article of Docker we install Docker on Linux – Docker – Introduction to Containers and Docker – part 2 – Creating first Docker program – our first container with detailed steps 🙂

Execute the command – sudo snap install docker

sudo snap install docker

To execute Docker commands (Docker CLI) on Windows platform we need to install the Docker Desktop for Windows

Steps to install Docker Desktop for Windows :

  • We can check if Docker is already installed or not on our box
  • Execute the Docker / docker CMDLET either in Command Prompt or Visual Studio Code or in Git bash
  • Here I am executing the Docker CMDLET in Visual Studio code terminal as shown in below fig
Docker installation on Windows
fig : Docker installation on Windows – Error showing Docker is not installed on Windows
  • As we are getting an error it seems Docker is not installed on this box
  • We can download Docker Desktop for Windows from official site – https://hub.docker.com/editions/community/docker-ce-desktop-windows
  • Once executable downloaded successfully, please run it and dialog “Installing Docker Desktop 4.5.1 (74721)” will appear as shown in below fig

r  - Docker desktop for Windows
fig : Docker installation on Windows – Running executable for – Docker desktop for Windows

Docker installation on Windows - Running executable for  - Docker desktop for Windows
fig : Docker installation on Windows – Running executable for – Docker desktop for Windows

  • On successfully installation we will get an success message as shown in below fig

  • Please accept the Service Agreement an restart the box
  • On successful restart of Docker Desktop for Windows should start successfully
  • But sometime we get an error – “WSL2 Installation is incomplete.” as shown in below fig
Docker installation on Windows - after installation getting an error - "WSL2 Installation is Incomplete"
fig : Docker installation on Windows – after installation getting an error – “WSL2 Installation is Incomplete”

  • Also we will continuously get an message – “Docker Desktop stopping…” as shown in below fig

 message - "Docker Desktop stopping..."
fig : Docker installation on Windows – after installation getting an error – “WSL2 Installation is Incomplete” and showing continuously message – “Docker Desktop stopping…”
  • To resolve this issue, as shown in dialog “Docker Desktop – Install WSL2 kernel update” we need to download from the reference link mentioned in dialog – https://aka.ms/wsl2kernel
Docker installation on Windows - Updating WSL2 Linux kernel update
fig : Docker installation on Windows – Updating WSL2 Linux kernel update
  • Once we downloaded and installed successfully, kindly please restart the box
  • On successfully restart, we could successfully start the – Docker Desktop for Windows as shown in below fig 🙂
Docker installation on Windows - Docker Desktop for Windows installed successfully and ready to explore
fig : Docker installation on Windows – Docker Desktop for Windows installed successfully and ready to explore 🙂

As Docker Desktop for Windows get successfully installed 🙂 we are ready to begin the Docker show on Windows 🙂

Thanks for reading !!! If you think worth reading kindly please share / like

HAVE A GREAT TIME AHEAD 🙂 STAY HEALTHY 🙂

Prasham Sabadra

LIFE IS VERY BEAUTIFUL :) ENJOY THE WHOLE JOURNEY :) Founder of Knowledge Junction and live-beautiful-life.com, Author, Learner, Passionate Techie, avid reader. Certified Professional Workshop Facilitator / Public Speaker. Scrum Foundation Professional certificated. Motivational, Behavioral , Technical speaker. Speaks in various events including SharePoint Saturdays, Boot camps, Collages / Schools, local chapter. Can reach me for Microsoft 365, Azure, DevOps, SharePoint, Teams, Power Platform, JavaScript.

You may also like...

1 Response

  1. February 19, 2022

    […] On Windows : Docker : Installation on Windows – resolving error – WSL2 Installation is incomplete. […]

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: