Docker is already builtin into Windows Server setups. On other Windows systems, you will have to setup Docker yourself. There are two ways to install Docker on Windows depending on your Windows version.
Prerequisites: Docker requires Hyper-V enabled in Windows 10. Without this Docker will not run after you install Docker.
Please note that Docker needs Hyper-V only in Windows 10. It will not work with VMware Workstation or Virtual Box. You can refer to the Docker documentation
Docker consumes a lot of RAM. Docker on my 12 GB RAM Laptop. You can still work, it won’t create major problems. I think, on a 12 GB RAM machine, you should not feel the performance issue.
12 GB machines work for me, so it’s OK.
Step -1 Download Docker
Officially Docker installer, community edition can be downloaded from Docker Store. You will have to create an account to be able to download it. Having an account for Docker is a very good thing. It allows you to download docker images in the future.
Step -2 Run The Installer
Double click on the downloaded installer file to start the installation wizard. You will see Windows UAC – User Access Control asking for permission to allow the program to run. Click yes to continue
Now you will see Docker installer downloading additional files required. If you don't have an internet connection, the installer will move on to the next step. Wait for the process to complete and you will see the configuration screen.
Step-3 Configuration Settings
In this dialog box, you will be asked if you want to create a desktop icon for Docker. I leave this checked. The second option is if you want to use Linux or Windows Container. This option can be changed later on. I leave it as default, which is unchecked.
Click OK to start the installation. Wait for the installation to complete.
Once the installation completes, click on Close and restart to complete the installation.
Step -4 Run Docker
Once the system restarts, run Docker by double-clicking the icon created on the desktop or from the Start menu. You will see a docker icon appear on your Windows taskbar. If you hover your mouse over it, it will say “Docker is Starting”. You will see a warning asking your permission to start the docker service. Click Start to continue and wait for docker service to start. Once docker service starts for the first time, you will see a welcome screen asking you to log in to Docker Hub. Enter the docker hub credentials you have created and click on sign in. This is optional but it is highly recommended that you do it In future all the images that you will create will be uploaded in your account.
Step -5 Version
Check the version of Docker Installed, Most of the time you will be working with the command line to work with Docker. Let this be your first command to check the Docker version and see what you get. Open PowerShell or command prompt and enter the command: