Installing Docker On Windows 10 Home

2/13/2022by admin

For developers, Windows 10 is a great place to run Docker Windows containers and containerization support was added to the the Windows 10 kernel with the Anniversary Update (note that container images can only be based on Windows Server Core and Nanoserver, not Windows 10). All that’s missing is the Windows-native Docker Engine and some image. Just checking the Task Manager should help people if they should use Docker for Windows or the Docker Toolbox. Current 'Getting Started' says this - Docker for Windows requires 64bit Windows 10 Pro, Enterprise and Education (1511 November update, Build 10586 or later) and Microsoft Hyper-V.

  • Just because Docker only supported containers in Hyper-V mode on Windows 10, which my laptop did not really like in combination with other native Hyper-V VM’s. Since Docker supports process isolation on Windows 10 (starting with version 1809) it became time to say goodbye to my Hyper-V setup and switch to running containers directly on.
  • Here’s how you can install Docker on Windows 10 64-bit: Enable Hyper-V in your system. Download Docker Desktop for Windows and open the Docker for Windows Installer file. In the Configuration dialog window, check or uncheck the boxes based on your preferences.

Estimated reading time: 7 minutes

I will quickly list the steps involved in installing Docker Toolbox for Windows 10 Home or lower versions. Please note Windows 10 Home edition does not support Docker Desktop for Windows and it. At the time of writing, I’m using Windows 10 Home version 1903. Let’s start installing the following: Install Git Bash for Windows. This will be our primary terminal for running Docker commands. Install Chocolatey, a package manager for Windows. It will make the work of installing the rest of the programs easier. Install VirtualBox and its.

Windows Subsystem for Linux (WSL) 2 introduces a significant architectural change as it is a full Linux kernel built by Microsoft, allowing Linux containers to run natively without emulation. With Docker Desktop running on WSL 2, users can leverage Linux workspaces and avoid having to maintain both Linux and Windows build scripts. In addition, WSL 2 provides improvements to file system sharing, boot time, and allows access to some cool new features for Docker Desktop users.

Docker Desktop uses the dynamic memory allocation feature in WSL 2 to greatly improve the resource consumption. This means, Docker Desktop only uses the required amount of CPU and memory resources it needs, while enabling CPU and memory-intensive tasks such as building a container to run much faster.

Additionally, with WSL 2, the time required to start a Docker daemon after a cold start is significantly faster. It takes less than 10 seconds to start the Docker daemon when compared to almost a minute in the previous version of Docker Desktop.


Before you install the Docker Desktop WSL 2 backend, you must complete the following steps:

  1. Install Windows 10, version 1903 or higher.
  2. Enable WSL 2 feature on Windows. For detailed instructions, refer to the Microsoft documentation.
  3. Download and install the Linux kernel update package.

Best practices

  • To get the best out of the file system performance when bind-mounting files, we recommend storing source code and other data that is bind-mounted into Linux containers (i.e., with docker run -v <host-path>:<container-path>) in the Linux file system, rather than the Windows file system. You can also refer to the recommendation from Microsoft.

    • Linux containers only receive file change events (“inotify events”) if the original files are stored in the Linux filesystem. For example, some web development workflows rely on inotify events for automatic reloading when files have changed.
    • Performance is much higher when files are bind-mounted from the Linux filesystem, rather than remoted from the Windows host. Therefore avoid docker run -v /mnt/c/users:/users (where /mnt/c is mounted from Windows).
    • Instead, from a Linux shell use a command like docker run -v ~/my-project:/sources <my-image> where ~ is expanded by the Linux shell to $HOME.
  • If you have concerns about the size of the docker-desktop-data VHDX, or need to change it, take a look at the WSL tooling built into Windows.
  • If you have concerns about CPU or memory usage, you can configure limits on the memory, CPU, Swap size allocated to the WSL 2 utility VM.
  • To avoid any potential conflicts with using WSL 2 on Docker Desktop, you must uninstall any previous versions of Docker Engine and CLI installed directly through Linux distributions before installing Docker Desktop.


Download Docker Desktop Stable or a later release.

Installing Docker On Windows 10 Home


Ensure you have completed the steps described in the Prerequisites section before installing the Docker Desktop Stable release.

  1. Follow the usual installation instructions to install Docker Desktop. If you are running a supported system, Docker Desktop prompts you to enable WSL 2 during installation. Read the information displayed on the screen and enable WSL 2 to continue.
  2. Start Docker Desktop from the Windows Start menu.
  3. From the Docker menu, select Settings > General.

  4. Select the Use WSL 2 based engine check box.

    If you have installed Docker Desktop on a system that supports WSL 2, this option will be enabled by default.

  5. Click Apply & Restart.
  6. Ensure the distribution runs in WSL 2 mode. WSL can run distributions in both v1 or v2 mode.

    To check the WSL mode, run:

    wsl.exe -l -v

    To upgrade your existing Linux distro to v2, run:

    wsl.exe --set-version (distro name) 2

    To set v2 as the default version for future installations, run:

    wsl.exe --set-default-version 2

  7. When Docker Desktop restarts, go to Settings > Resources > WSL Integration.

    The Docker-WSL integration will be enabled on your default WSL distribution. To change your default WSL distro, run wsl --set-default <distro name>.

    For example, to set Ubuntu as your default WSL distro, run wsl --set-default ubuntu.

    Optionally, select any additional distributions you would like to enable the Docker-WSL integration on.


    The Docker-WSL integration components running in your distro depend on glibc. This can cause issues when running musl-based distros such as Alpine Linux. Alpine users can use the alpine-pkg-glibc package to deploy glibc alongside musl to run the integration.

  8. Click Apply & Restart.

Develop with Docker and WSL 2


The following section describes how to start developing your applications using Docker and WSL 2. We recommend that you have your code in your default Linux distribution for the best development experience using Docker and WSL 2. After you have enabled WSL 2 on Docker Desktop, you can start working with your code inside the Linux distro and ideally with your IDE still in Windows. This workflow can be pretty straightforward if you are using VSCode.

Installing Docker On Windows 10 Home Edition

  1. Open VSCode and install the Remote - WSL extension. This extension allows you to work with a remote server in the Linux distro and your IDE client still on Windows.
  2. Now, you can start working in VSCode remotely. To do this, open your terminal and type:


    code .

    This opens a new VSCode connected remotely to your default Linux distro which you can check in the bottom corner of the screen.

    Alternatively, you can type the name of your default Linux distro in your Start menu, open it, and then run code .

  3. When you are in VSCode, you can use the terminal in VSCode to pull your code and start working natively from your Windows machine.

GPU support

Installing Docker On Windows 10 Home In S Mode

Starting with Docker Desktop 3.1.0, Docker Desktop supports WSL 2 GPU Paravirtualization (GPU-PV) on NVIDIA GPUs. To enable WSL 2 GPU Paravirtualization, you need:

Docker Not Installing On Windows 10 Home

  • A machine with an NVIDIA GPU
  • The latest Windows Insider version from the Dev Preview ring
  • Beta drivers from NVIDIA supporting WSL 2 GPU Paravirtualization
  • Update WSL 2 Linux kernel to the latest version using wsl --update from an elevated commmand prompt
  • Make sure the WSL 2 backend is enabled in Docker Desktop

To validate that everything works as expected, run the following command to run a short benchmark on your GPU:

Installing docker on windows 10 home 64

Docker Installation On Windows 10


Installing Docker On Windows 10 Not Pro

Your feedback is very important to us. Please let us know your feedback by creating an issue in the Docker Desktop for Windows GitHub repository and adding the WSL 2 label.

Docker Installation On Windows 10 Step By Step

WSL, WSL 2 Tech Preview, Windows Subsystem for Linux, WSL 2 backend Docker

Installing Docker On Windows 10 Home

Docker Toolbox is an advantageous choice if you need to set up a Docker situation on Windows 10 Home.

Be that as it may, I was interested in the off chance that it is conceivable to set up Docker without introducing anything (introducing significance running an installer). My objective was to download a couple of executables, duplicate them into a discretionary envelope, set some condition factors, and it should work.

On the off chance that you’ve at any point attempted to introduce Docker for Windows, you’ve most likely come to understand that the installer won’t run on Windows 10 Home. Just Windows Pro, Enterprise or Education bolster Docker. Overhauling your Windows permit is expensive, and furthermore trivial since you can even now run Linux Containers on Windows without depending on Hyper-V innovation, a prerequisite for Docker for Windows.

On the off chance that you plan on running Windows Containers, you’ll need a particular form and work of Windows Server. Look at the Windows compartment form similarity grid for subtleties.

99.999% of the time, you just need a Linux Container, since it bolsters programming assembled utilizing open-source and .NET innovations. Likewise, Linux Containers can run on any distro and prominent CPU structures, including x86_64, ARM and IBM.

In this instructional exercise, I’ll tell you the best way to immediately set up a Linux VM on Windows Home running Docker Engine with the assistance of Docker Machine. Here’s a rundown of programming you’ll have to manufacture and run Docker compartments:

Docker Machine: a CLI device for introducing Docker Engine on virtual hosts

Docker Engine: runs over the Linux Kernel; utilized for building and running holders

Docker Client: a CLI apparatus for giving directions to Docker Engine through REST API

Docker Compose: an apparatus for characterizing and running multi-compartment applications

I’ll tell the best way to introduce in the accompanying situations:

  • On Windows utilizing Git Bash
  • On Windows Subsystem for Linux 2 (running Ubuntu 18.04)
  • Introducing Docker on Windows 10 Home
  • From a perfect boot (see the note above)
  • More than once press Esc key at startup.
  • Press the F10 key for BIOS Setup.

Press the correct bolt key to System Configuration tab, Select Virtualization Technology and afterward press the Enter key.

Heritage work area arrangement.

Docker Toolbox is for more seasoned Mac and Windows frameworks that don’t meet the necessities of Docker Desktop for Mac and Docker Desktop for Windows. We prescribe refreshing to the more up to date applications, if conceivable.

Evaluated understanding time: 10 minutes

Docker Toolbox gives an approach to utilize Docker on Windows frameworks that don’t meet insignificant framework prerequisites for the Docker Desktop for Windows application.

What you get and how it functions

Docker Toolbox incorporates the accompanying Docker apparatuses:

Docker CLI customer for running Docker Engine to make pictures and compartments

Docker Machine so you can run Docker Engine directions from Windows terminals

Docker Compose for running the docker-form order

Kitematic, the Docker GUI

the Docker QuickStart shell preconfigured for a Docker order line condition

Prophet VM Virtual Box

Since the Docker Engine daemon utilizes Linux-explicit portion highlights, you can’t run Docker Engine locally on Windows. Rather, you should utilize the Docker Machine order, docker-machine, to make and join a little Linux VM on your machine. This VM has Docker Engine for you on your Windows framework.

Tip: One of the benefits of the more current Docker Desktop for Windows arrangement is that it utilizes local virtualization and doesn’t require Virtual Box to run Docker.
Model: The accompanying essential Docker file sets up an SSH administration in a compartment that you can use to interface with and examine different holders volumes, or to get speedy access to a test holder.

Note: Browse latest Docker interview questions and Docker tutorial. Here you can check Docker Training details and Docker training videos for self learning. Contact +91 988 502 2027 for more information.
Comments are closed.