How To Install Docker Desktop On Windows
Step 1: Download The Docker Desktop For Windows
- Go to official website of Docker and search Docker Desktop Download.
- Click on the “Docker Desktop For Windows” button.
Step 2: Install Docker Desktop
- Run the downloaded software through clicking on Install option.
- Follow the Installation Wizard instructions.
- During the Installation, make sure to enable ‘Hyper-V windows Features’ option is selected.
Step 3: Run Docker Desktop
- After the installation of Docker Desktop has done successfully. Close the Applications and open it again from the Start Menu.
Step 4: Enabling WSL 2 (Windows Subsystem For Linux)
- Docker Desktop uses WSL2 as its default backend. Ensure that you have WSL2 installed.
- Ensure to follow the instructions provided by Docker Desktop to enable WSL2 during the first run.
- When your system restart this windows occurs on your screen. Finally the setup of the Docker Desktop has done successfully.
Step 5: Verifying Installation
- Open your command prompt or power shell.
- Run the following command to check the Docker CLI installation.
docker --version
- Run the following command to verify the docker can pull and run the containers.
docker pull ubuntu:latest
Docker Compose For Windows: Tips And Tricks
Docker is a powerful Container platform that allows you to create containers where you can run, deploy, and develop applications without worrying about different dependencies, services, and limitations of the operating system. The best part is the isolation of the container so you can use this container on different platforms. Now let’s talk about the ecosystem of Docker.
- Docker Engine: It is the core part of Docker which handles the different functionalities of Docker.
- Docker Compose: It is a tool which is provided by Docker used to maintain multi-container-based applications.
- Docker Hub: it is a cloud platform where all the Docker images are stored similar to Git Hub.