I have used AWS Windows 2016 instances to run Docker containers and Swarm. This was mostly done for my own learning.
For the last few days, I have tried to use Windows 2016 container base (Microsoft Windows Server 2016 Base with Containers - ami-05c2d010ff77e020c) to install Docker and pull the microsoft/nanoserver image. The image pull version seems to work perfectly fine but when I try to run a container from the same image in detached mode, the container starts and then exits. Has something changed with AWS or Windows 2016 in the last three weeks?
I had used the wrong docker image. I need to remember to use the right tag to pull the image appropriate for the OS. I should have used microsoft/nanoserver:1709 or microsoft/nanoserver:1803.