Docker is an open platform for developing, shipping, and running applications. Docker enables you to separate your applications from your infrastructure. Docker packages software into standardized units called containers. These containers have everything the software needs to run. They include libraries, system tools, code, and runtime.
Docker is an open platform for developing, shipping, and running applications using the containers. Docker enables us to separate the applications from the infrastructure so we can deliver software quickly. With Docker, we can manage your infrastructure in the same ways you manage your applications.
Containers are lightweight, portable, and self-sufficient units that package an application and its dependencies, ensuring consistency across different environments.
What is Docker Desktop?
Docker Desktop is a one-click-install application for your Mac, Linux, or Windows environment that lets you build, share, and run containerized applications and microservices.
It provides a straightforward GUI (Graphical User Interface) that lets you manage your containers, applications, and images directly from your machine.
Before installing Docker on Windows 10 or 11, ensure your system meets the following requirements:
Windows 10 64-bit: Build 18362 or higher
Windows 11 64-bit
Hardware Virtualization Technology (VT-x) enabled in BIOS
Microsoft Hyper-V and Containers features enabled
How to verify WSL is installed?
Windows Subsystem for Linux (WSL) 2 is a prerequisite for Docker Desktop on Windows. It provides a lightweight Linux kernel for compatibility and performance improvements.
wsl --version
The output of the above command should display the version of wsl installed on the machine.
Open PowerShell as Administrator and run:
wsl --install
Restart the computer if prompted.
Install Docker Desktop
On the Docker download page, select “Windows” as your operating system.
The download will begin automatically. The duration will depend on your internet speed.
After installation, open Docker Desktop.
After clicking “OK,” the installation will start.
After installation completes, it will show a confirmation screen.
Create an account for Docker Desktop.
Once we will create the account, we will login and see that the Docker Engine is stopped.
Go to the settings and select “Start Docker Desktop when sign in to your computer.”. This is optional.
Go to the bottom tray and right click on the Desktop option.
It will show below mentioned options. Select “Quit Docker Desktop”.
Start Docker Desktop
Docker Desktop does not start automatically after installation. To start Docker Desktop:
Search for Docker, and select Docker Desktop in the search results.
The Docker menu displays the Docker Subscription Service Agreement. Select Acceptto continue. Docker Desktop starts after you accept the terms.
Note that Docker Desktop won’t run if you do not agree to the terms. You can choose to accept the terms at a later date by opening Docker Desktop.