Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the use of Docker Desktop?

As a technology, we understand the docker creates virtualization and there is a docker hub, where Docker images are stored.
To explain in simple words, what purpose does docker desktop serve?
Or why do I need to install Docker Desktop App to use Docker

If we need to use docker on linux server, do we need to install Docker Desktop there as well or there is some other way?

like image 374
Akshay Vijay Jain Avatar asked Dec 06 '25 06:12

Akshay Vijay Jain


2 Answers

Docker as technology can only be run on Linux OS.

Docker Desktop does 2 things.

  1. creates Linux VM on your host OS (Windows / Mac)
  2. forwards docker-cli commands from the host OS to created Linux VM --> due to this the containers are created on Linux VM, and on the surface it appears to be working on Windows/Mac

Thus we are able to run and use docker-cli on Windows/Mac even though these OS's do not support docker images/containers.

like image 98
Akshay Vijay Jain Avatar answered Dec 08 '25 22:12

Akshay Vijay Jain


Docker Deskop packages a managed VM for running containers with various developer focused features. Some of the highlights include:

  • A managed immutable VM for running containers that makes recovering from issues typically as easy as a restart.
  • Automatic upgrades to apply security fixes.
  • Mapping of networking connections from the VM back to the desktop, allowing developers to point to localhost instead of tracking down the current IP of their VM.
  • Syncing filesystems between the host and containers so developers can write their code on their desktop and do their testing in a container as if it was on the same host.
  • GUI for managing containers and debugging issues. There's still the CLI if you prefer.
  • Kubernetes deployed with a toggle switch. Alternatives to this include KinD , k3s, and MiniKube.
  • Windows containers are available on Docker for Windows.
  • Bundled and preconfigured tooling with the newest features. For example, scanning, docker compose (v2), Dev environments, multi-platform support, were all released early on Docker Desktop.

For me, if you're a Windows or Mac user that doesn't want to be a Linux administrator, and wants your development experience to appear as if it's all running on your laptop instead of ssh'ing files to the server, Docker Desktop fills a nice role.

Further reading:

  • https://docs.docker.com/desktop/
  • https://www.docker.com/blog/the-magic-behind-the-scenes-of-docker-desktop/
like image 43
BMitch Avatar answered Dec 08 '25 22:12

BMitch