Skip to main content

Command Palette

Search for a command to run...

Installing Docker on Windows

Updated
1 min read
Installing Docker on Windows
A

DevOps Advocate | Passionate about bridging development & operations to build seamless, scalable systems. Let’s connect and geek out over DevOps, open-source, or the latest in cloud innovation! ✨ Building the future, one pipeline at a time.

Prerequisites

Before proceeding, ensure that:

  • You have WSL 2 installed on your Windows machine. If not, you can follow the manual installation steps provided by Microsoft.

Step 1: Install Docker Desktop

  1. Download Docker Desktop Installer:

  2. Run the Installer:

    • Locate the downloaded installer in your Downloads folder and double-click to run it.
  3. Follow Installation Prompts:

    • During the installation process, you may be prompted to enable the WSL 2 feature. Ensure that this option is selected to continue.
  4. Complete Installation:

    • Once the installation is complete, Docker Desktop will prompt you to log in. You can create a Docker Hub account if you don't have one.

Step 2: Verify Docker Installation

  1. Open a Terminal:

    • You can use PowerShell, Command Prompt
  2. Run Verification Command:

    • Type the following command and press Enter:

        docker run hello-world
      
  3. Check Output:

    • If Docker is installed correctly, you will see a message indicating that the Docker installation is working properly.

By following these steps, you can set up Docker on your Windows machine using WSL 2, providing a robust platform for containerized application development.

Docker

Part 1 of 1

We will explore docker.