Windows Server later versions of 2016 will be suitable to run the docker enterprise engine. and also remember that the latest Docker will run on 64bit platforms only. If you like to test this on AWS AMI then it is a must that you must allocate 30G disk space for the instance. So better stop all other instances first when you run the AWS Windows instance starts.
Choose your Cloud wisely!
Note: Windows instance on AWS is going to consume more disk space, they are fat like elephants!
Docker installation on Windows 2019 AWS AMI |
Step1: Login to the AWS console, navigate to your Services-> EC2 instances click on the 'Launch Instance'.
The AWS instance Windows 2019 AMI Selection |
Step 2: Choose the instance type from the list:t2micro free-tier
aws instance type selection |
Step 3: Go with the default options no changes required.
Step 4: Select the disk storage space for the Windows instance default size is 30GB. we cannot go below this size.
Step 5: Proceed with defaults
Step 6: Security Group for Windows would be RDP for Windows, where this can be compared with the SSH and other protocols for Linux AMIs.
Step 7: Finally review the instance configurations in a single page and confirm it, if everything looks fine for you. To access the Windows RDP need public host IP.
Create a new Windows_2019keys (AWS Keypairs) |
Select 'Connect' button, which will show the ec2-<windows-instance-ip>.rdp file.
Click on the file that is downloaded, Open the RDP file then enter the credentials as suggested on the AWS connect pop-up.
Install-Module DockerMsftProvider -force
Install-module in PowerShell command for dockerprovider |
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -force
Install-PackageProvider for Docker |
Install-Package Docker -ProviderName DockerMsftProvider -Force
Wow Docker installation on Windows Server completed successfully.
Let's confirm by saying version
docker version
Please restart the AWS Windows instance from the AWS Console, Go to 'Actions' ->'instance State' then select the 'Reboot instances' option.
You might be interested to see Docker concepts:
- Install Docker on Ubuntu 19.04
- Install Docker on CentOS
- Install Docker on Windows
No comments:
Post a Comment