Step By Step Installation of Docker Desktop on Windows 10Pro
In this article we are going to install Docker on Windows 10Pro. We will be proceeding with below configuration.
We will be following steps as per official Docker installation Docs docker-desktop on windows
Prerequisites.
- 64-bit processor with Second Level Address Translation (SLAT)
- 4GB system RAM
- BIOS-level hardware virtualization support must be enabled in the BIOS settings.
- Windows 10Pro
Open Command Prompt, right-click and select Run as administrator.
Enter the following command and press Enter:
wsl --install
Once installation completes, we need to update the same as using below command in Command prompt.
wsl --update
At this stage out Docker Desktop is now installed properly. Now open command prompt terminal and execute below command to test if docker is able to fetch images.
C:\Users\Admin> docker run hello-world
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
719385e32844: Pull complete
Digest: sha256:c2e23624975516c7e27b1b25be3682a8c6c4c0cea011b791ce98aa423b5040a0
Status: Downloaded newer image for hello-world:latest
Hello from Docker!
This message shows that your installation appears to be working correctly.
To generate this message, Docker took the following steps:
1. The Docker client contacted the Docker daemon.
2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
(amd64)
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.
To try something more ambitious, you can run an Ubuntu container with:
$ docker run -it ubuntu bash
Share images, automate workflows, and more with a free Docker ID:
https://hub.docker.com/
For more examples and ideas, visit:
https://docs.docker.com/get-started/
C:\Users\Admin>And as we can see docker is able to fetch image and hello-world sample output displayed.
Step By Step Installation of IDE (Visual Studio Code) on Windows 10Pro
Till now we have installed Docker Desktop (which includes Docker Engine) on Windows 10Pro. Now to ease the working/coding we need supporting tools like IDE for better programming tweaks.
Now we will be installing Visual Studio Code on Windows 10Pro machine and further we will be doing few extensions setup as well.
Step 1=> Go to Visual Studio Code link and Download Software for Windows as below.
No comments:
Post a Comment