Search code examples
dockerdocker-machine

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?


Solution

  • 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.