How to Install and Use Docker Desktop

The article demonstrates how to install Docker Desktop on your machine and communicate with it using different tools.

Briefly About Docker Desktop

Docker is an open platform for developing, deploying, and running applications. Docker enables you to separate your applications from your infrastructure so you can deliver software quickly. Also, with Docker, you can manage your infrastructure in the same ways you manage your applications.

Consider the following possible use case scenarios:

  • The developers write code locally and share their work with others using Docker containers.
  • They use Docker to prepare a test environment for their applications.
  • If the developers find bugs, they can fix them in the development environment as well as redeploy them for testing and validation.
  • When testing is complete, getting the fix to the customer is as simple as pushing the updated image to the production environment.

For more details refer to the link.

How to Install Docker Desktop

Docker Desktop has two installation options:

  • WSL 2 backend
  • Hyper-V backend and Windows containers

You must select WSL 2 option for the Linux servers.

To check the system requirements, go to the link and click on the button:

The installation file Docker Desktop Installer.exe will be downloaded, and then double-click on it to install the application.

After finishing installation, Docker starts automatically and the whale icon will appear in the notification area, finally, click on it to manage Docker application.

Docker installed

You can manage the images, containers, and volumes with it.

How to Communicate with Docker Desktop

You can communicate with Docker Desktop using:

  • Docker CLI commands.
  • The Docker Desktop dashboard
  • 3rd party applications.

Find details of the essential Docker CLI commands at the link. Use them to view a list of the images, containers, and volumes, copy specified files from a container to a local folder and vise versa, and also to explore the file system of a container, archive a container to a local file, and load (restore) from it.

Firstly, to use the Docker Desktop dashboard, you must sign up for Docker Hub. It consists of the following components:

  • Docker object groups (Containers/Apps, Images, Volumes, and Dev Environments) are selected in the left sidebar.
  • The Settings button on the top bar
  • The button to maintain your account.

When you click on the specified container, you will get the tools to maintain the container:

Selected container

Pay close attention to the group of buttons in the top-right corner and take note that three of them perform standard container commands: remove, reload, and stop/run.

The first button (CLI) is more interesting because it will take you to the container’s system, where you can work with Linux CLI commands.

Among third-party applications, one of the best is Visual Studio Code (see the link about how to install it).

You must install the Docker extension in VS Code in order to be able to browse the Docker objects: containers, images, networks, volumes, and registries.

After installation, the Docker icon appeared on the left sidebar of the VS code. Click on it to enter the Docker manager.


Was this helpful?

0 / 0

Leave a Reply 11

Your email address will not be published. Required fields are marked *


How to Dockerize a PHP Project - Experienced Knowledge

How to Dockerize a PHP Project - Experienced Knowledge

[…] Make sure that Docker Desktop is on your computer. Follow the link to find out how to install Docker Desktop. […]

How to Create and Consume Docker Network - Experienced Knowledge

How to Create and Consume Docker Network - Experienced Knowledge

[…] Make sure that Docker Desktop is on your computer. Follow the link to find out how to install Docker Desktop. […]

How to Run PostgreSQL on Docker Desktop - Experienced Knowledge

How to Run PostgreSQL on Docker Desktop - Experienced Knowledge

[…] Make sure that Docker Desktop is on your computer. Follow the link to find out how to install Docker Desktop. […]

Essential Docker CLI Commands - Experienced Knowledge

Essential Docker CLI Commands - Experienced Knowledge

[…] Docker Desktop is required to examine the provided examples. For installation instructions, please refer to the link. […]

How to Install Python - Experienced Knowledge

How to Install Python - Experienced Knowledge

[…] We assume that Docker Desktop is installed on your machine. How to install Docker Desktop can be found here. […]

How to Install Node.js On Windows - Experienced Knowledge

How to Install Node.js On Windows - Experienced Knowledge

[…] on the Docker Desktop. Ensure the Docker Desktop is installed on your computer. If not, click the link to learn how to install and use […]

How to Install Python - Experienced Knowledge

How to Install Python - Experienced Knowledge

[…] assume that you have Docker Desktop on your machine. Otherwise, navigate to the link to install […]

How to Dockerize a PHP Project - Experienced Knowledge

How to Dockerize a PHP Project - Experienced Knowledge

[…] Make sure that Docker Desktop is on your computer. Follow the link to find out how to install Docker Desktop. […]

How to Create and Consume Docker Network - Experienced Knowledge

How to Create and Consume Docker Network - Experienced Knowledge

[…] sure that Docker Desktop is on your computer. Otherwise, follow the link to find out how to install Docker […]

How to Run PostgreSQL on Docker Desktop - Experienced Knowledge

How to Run PostgreSQL on Docker Desktop - Experienced Knowledge

[…] Make sure that Docker Desktop is on your computer. Follow the link to find out how to install Docker Desktop. […]

Essential Docker CLI Commands - Experienced Knowledge

Essential Docker CLI Commands - Experienced Knowledge

[…] To examine the provided examples, ensure you have Docker Desktop on your computer. Otherwise, for installation instructions, please refer to the link. […]