Docker Installation and Configuration

Check System Requirements

Ensure your system meets the following requirements:

  • Windows 10 64-bit: Pro, Enterprise, or Education (Build 15063 or later)

  • Enable Hyper-V and Containers Windows features

Download and Install Docker Desktop

  • Visit Docker Desktop for Windows and download the installer.

  • Run Docker Desktop Installer.exe to start the installation process.

Installation Steps

  • Double-click the Docker Desktop Installer.exe to launch the installer.

  • When prompted, authorize the installer to proceed.

  • Follow the on-screen instructions to complete the installation.

  • When the installation is complete, Docker Desktop will prompt you to enable Hyper-V and Containers features if they are not already enabled. Click OK to enable these features, and then restart your computer if prompted.

Configure Docker

  • After your computer restarts, open Docker Desktop from the Start menu.

  • In Docker Desktop, click on the gear icon (Settings) in the top-right corner.

  • Go to the General tab and ensure Use the WSL 2 based engine is checked.

  • Apply and restart Docker Desktop if necessary.

Verify Installation

  • Open Command Prompt or PowerShell.

  • Run the command:

    docker --version
    

    This command should display the installed Docker version.

  • Run a test container:

    docker run hello-world
    

    This command will download and run the hello-world container, displaying a confirmation message.

For more details, visit the Docker Desktop for Windows documentation.