Microsoft has announced the General Availability of Azure guest Operating System family 6, based on Windows Server 2019. The important fact is it applies only to the Cloud Services web and worker roles, which run on top of a Guest OS and it does not apply to the IaaS Virtual Machines.
If you log in to the Microsoft Azure Portal you can see various flavors of Windows Server 2019 Editions.
I just wanted to run the container optimized Windows Server 2019 and I span up an Azure VM with this Operating System to run a container and see the functionality. I thought to share this along with the Generally Availability of the release in this post, and I previously published an article to introduce the Windows Server 2019 and you can find it below.
Run A Container With Windows Server 2019
I created the Virtual Machine with “Windows Server 2019 Datacenter with Containers” image.
Logged in with the RDP session and played around with the Operating System, no significant difference in the Server Manager and Popup displayed to manage the Windows Server with the Admin Center.
Version 10.0.17763 build 17763 was installed on the Virtual Machine
To run the containerized applications “Hyper-V” and “Containers” features must be installed and those two features were already installed and no additional configuration was not required to start with the containers.
Get-WindowsFeature *hyper* Get-WindowsFeature *containers*
Checked the running Docker engine, Docker engine 18.09.0 (released on 2018-11-08) was pre-installed. By default “servercore” and “nanoserver” images were saved.
Docker Client and Server information also checked and both were in 18.09.0
I just searched the available Microsoft Docker Images for the use
docker search microsoft
Pulled the IIS docker image to run an IIS web server from the docker repo
docker pull microsoft/iis
Docker image list contained with the default “servercore”and nanoserver images along with the pulled IIS image
docker image list
I ran a docker container with the downloaded IIS image
docker container run -d --name [name of the container] -p 80:80 microsoft/iis
Checked the docker information again
My container web server was running perfectly