Install Docker On Windows
Overview
This tutorial will walk you through the steps for installing Docker on Windows.
Docker Tutorial :
- Install Docker On Windows
- Docker Hello World Example
- Install Prometheus using Docker
- Install Grafana using Docker
- Install RabbitMQ using Docker
What is Docker?
Docker is a set of platform as a service tools that deliver software in containers using OS-level virtualization. Containers are self-contained, containing their own software, libraries, and configuration files, and communicating with one another via well-defined channels. Docker makes it simple for developers to package, ship, and execute any application as a lightweight, portable, self-contained container that can operate almost anywhere.
To install docker on windows, you need to follow below steps:
Install Docker Desktop
Download the Linux kernel update package
Enable the Windows Subsystem for Linux
Install Linux Distributions
Install Windows Terminal
Test Docker Setup by running Hello World Example
After completing above installation steps of Docker on Windows, will see how to test docker using sample hello world example.
Install Docker Desktop
- Go to docker page to install docker from
- Run the Docker executable once it has been downloaded.
- "Installation Succeeded" will appear; click the Close button and restart the computer to complete the installation.
- It will create a Docker shortcut on your desktop after installation.
-
Once you click on Docker icon, docker will open with below problems.
WSL 2 installation is incomplete
The WSL 2 Linux kernel is now installed using a separate MSI update package. Please click the link and follow the instructions to install the kernel update:
https://aka.ms/wsl2kernel
Press restart after installing the Linux kernelTo resolve above issue follow below steps:
- First, make sure to turn on the flag "Enable integration with my default WSL distro" from Setting->Resources.