none
Unable to run Docker Container on an AWS Windows VM RRS feed

  • Question

  • 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?

    Thursday, September 27, 2018 11:19 PM

Answers

  • Specify version of nanoserver instead of using "latest" when you pull those

    https://docs.microsoft.com/en-us/virtualization/windowscontainers/deploy-containers/version-compatibility


    Friday, September 28, 2018 12:12 PM

All replies

  • I tried to use the following images to run nanoserver.

    Microsoft Windows Server 1709 with Containers - ami-018cc6b82bb6dba5d

    Microsoft Windows Server 1803 with Containers - ami-03572451e386b50dc

    I got an error that says I cannot run these images with these Windows versions because those images are incompatible.

    Thursday, September 27, 2018 11:19 PM
  • Specify version of nanoserver instead of using "latest" when you pull those

    https://docs.microsoft.com/en-us/virtualization/windowscontainers/deploy-containers/version-compatibility


    Friday, September 28, 2018 12:12 PM