Home

Tuesday, July 18, 2023

How to install Docker on Windows 10

Install Docker on Windows 10


Welcome everyone.This guide will help you to understand the
1. What is docker?
2. What is Container?
3. What are benefits of Docker?
4. How to install of docker on the windows 10

1. What is Docker?
DDocker is a open source software platform that approves you to build, run, test, and build and replace applications quickly. Docker programs software program into standardized units called containers that have everything the software needs to run such as libraries, device tools, code, and runtime.

Docker is an operating system for containers. Similar to how a virtual machine virtualizes server hardware, containers virtualize the operating system of a server. Docker is installed on every server and gives simple commands you can use to build, start, or stop containers..

2. What is Container?
Containers simplify development and sending distributed applications. They have grow to be increasingly famous as agencies shift to cloud-native development and hybrid multicloud environments. It’s viable for developers to create containers barring Docker, via working immediately with capabilities built into Linux and other working systems. But Docker makes containerization faster, simpler and safer.A container shares the kernel with different containers and its host machine. This makes it a lot more lightweight than a virtual machine.

  Docker containers include everything an application needs to run, including:
  * The code,
  * A runtime,
  * Libraries,
  * Environment variables,
  * Configuration files... etc

  A Docker container consists of three main parts:
    1. Dockerfile: used to build the image.
    2. Image itself: a read-only template with instructions for creating a Docker container
    3. Container: a runnable instance created from an image

3. What are benefits of Docker?
 Using Docker lets you ship code faster, standardize software operations, convenient cross code, and keep cash through improving useful resource utilization. With Docker, you get a single object that can reliably run anywhere. Docker's simple and straightforward syntax offers you full control.You can use Docker containers as a core constructing block growing cutting-edge functions and platforms.
Docker makes it handy to build and run allotted microservices architecures, installation your code with standardized continuous integration and delivery pipelines, construct highly-scalable facts processing systems, and create fully-managed structures for your developers.

4. How to install of docker on the windows 10?
 docker is something available for most of the operating systems. like unix and windows.
Through various Linux commands we can do the installation. But in the case of windows, we have to download the exe file on the particular installer from the docker website.

Let's go to browser, enter: https://hub.docker.com/editions/community/docker-ce-desktop-windows

This is free version. Click Get docker. The installer, .exe file will get download. Its around 536 mb. Once the download will complete, we can go ahead to proceed the installation. When we install we have to proceed some of the steps.
Actually There is a huge difference between installer, for example in case of linux, the size of installer is little bit less. But in case of windows, GUI is also involved. And there are lot of binds are available. So that size is bigger than unix. This installation require windows 10

Once completed the downloaded, Double click the installer. It will ask for the approval. Yes or no you have to provide. Now once that is done , desktop, kind of GUI component will open there. It will start proceeding with the installation. Asking whether add it desktop to desktop, so you can say okay. It will unpack the files. Once the installation done you can open your command line and start working on the docker.
Taking sometime to extract the files. Now its asking us to close and restart. Once that is done you will be able to proceed further. Press Windows key+R altogether, enter cmd or Powershell. Hit enter.
In order to check the docker version enter docker version enter:
docker -v

When you do the restart of the machine then at that moment of time the docker server will also be started.

This is the way that how exactly we can go for a docker installation. I hope you got the idea about What is Docker?, What is Docker Container and Benifit and also How to install docker in windows 10

Video reference for How to install Docker on Windows 10. Please click here to watch.


3 comments:

Spring Boot Rest API -Exception handling

Client is sending the request. Getting response. If everything is okay. Then we are good. But if something fails t...