Installing Docker for Windows on Windows 10

Having Docker installed locally allows you to share your services easily by building containerized environments. Here’s how to get Docker for Windows installed on Windows 10.

Warning! Always check what you download to make sure it is valid and doesn’t contain anything malicious!

  1. Download and install Docker Desktop:
    https://www.docker.com/products/docker-desktop
  2. Follow these steps to set up WSL and Linux:
    https://docs.microsoft.com/en-us/windows/wsl/install-win10
  3. Start Docker Desktop.
  4. Open Powershell and check if Docker is available using:
    docker run -it --rm --name test busybox sh -c "echo 'Hello World!'"
    This will run an instance of the busybox container and use it to echo “Hello World!”

Congratulations! You now have Docker for Windows installed on your machine!

For more information on WSL please refer to:
https://docs.microsoft.com/en-us/windows/wsl/faq
https://devblogs.microsoft.com/commandline/a-deep-dive-into-how-wsl-allows-windows-to-access-linux-files/