Friday, April 24, 2020

Docker Desktop


Docker Desktop for Windows is Docker designed to run on Windows 10. It is a native Windows application that provides an easy-to-use development environment for building, shipping, and running dockerized apps.

Docker Desktop for Windows uses Windows-native Hyper-V virtualization and networking and is the fastest and most reliable way to develop Docker apps on Windows. Docker Desktop for Windows supports running both Linux and Windows Docker containers during the installation wizard.

You can get Docker Desktop for Windows at https://download.docker.com/win/stable/Docker%20Desktop%20Installer.exe

When the installation finishes, Docker starts automatically. The whale icon in the notification area indicates that Docker is running, and accessible from a terminal.

Then, launch a command-line terminal like Power-Shell to check the docker version by executing 'docker version'.

To test the container execution, execute 'docker run hello-world' command to verify that Docker can pull and run images with the below steps
  1. The Docker client contacted the Docker daemon.
  2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
  3. The Docker daemon created a new container from that image which runs the executable that produces the output you are currently reading.
  4. The Docker daemon streamed that output to the Docker client, which sent it to your terminal.

2 comments: