Monday, November 25, 2019

Docker installation setup for Windows


Step 1: Create a Docker account  Sign Up to create Docker Account

Step 2: Download Docker for Windows 10 using below link Docker exe for Windows

 Note: Required Login 

   Step 3: Login with your "Username" and "Password"
Step 4: 
Step 5: 
Step 5.1:

Step 6: 
Step 7: 


Step 8: 
Step 9:
Note: 1. The system will reboot automatically once you click on [Ok]
           2. Virtual Box will no longer work if Hyper-V enabled on your Machine

Step 9.1 You will get a shortcut on your Desktop of Docker. Click on that to run it.

Step 10:
Step 11: 
Step 12: 

Step 13:  Docker Settings


There are nine options given in the Settings section of the Docker, however, we will go through only the important ones only.
Shared Drives:
To access the local Windows 10 drives from containers, go to the Shared Drives and select the drive’s letter which you want to share and make them available for different containers installed using the Docker.
Advanced: 
As we know the Docker’s installed containers also run on the Virtualization platform of Windows 10 which is Hyper-V, hence, we can control the amount system resources available for the Docker engine which further assigned by it to the containers. We can manage CPU, RAM, SWAP  memory, Disk image location (don’t change it until & unless you know what you are doing) and Hard Disk image size.
Network
To let the Containers to communicate with each other the Docker will automatically create an internal Virtual Switch with a default range of IP i.e 10.0.75.0. If needed, you can change it to some other range.





Step 14: Switch Linux Containers to Windows containers or vice versa

In case you want to Switch the default Linux containers to Windows container then again go to taskbar click on Show hidden icon-> right click on the Docker icon-> Select the option “Switch to Windows containers“.


How to disable "Hyper-V" in Windows 10 

Step 1: Type Control Panel using the "Search" icon and click on [Programs and Features]
             or type "Turn Windows features on or off " and click on Enter 
                                                                              (OR)
Step 2:Un select the "Hyper-V" option to disable docker feature

Step 3: Applying changes in progress
 Step 4: Clic on [Restart Now] to Apply the changes


         

No comments:

Post a Comment

How to install and setup Kubernetes cluster using kOps in AWS environment

  Kops: Kops is also known as Kubernetes Operations, it is an open-source project which helps you to create, upgrade, destroy, and maintain ...