asp.net task wont stay running on Amazon EC2

I followed this tutorial: http://dotnetliberty.com/index.php/2015/11/26/asp-net-5-on-aws-ec2-container-service-in-10-steps/

I created a simple helloworld asp.net 5 web application. I then created a Docker image and pushed it to Docker Hub: https://hub.docker.com/r/jacobreid/helloworld/

  • Install .NET Framework 3.5 on Windows Server Core Docker
  • Docker swarm load balancing on AWS not working
  • Docker image behaves different on different machines
  • How to deploy pipelines on user demand in AWS app
  • After stopping docker containers , previously running containers cannot be started
  • from an ec2 instance spin up another ec2 instance and push a csv file on it
  • I then created an Amazon EC2 cluster using my Docker image and the task won’t stay running.

    If I look at the task it says the stopped reason is : Essential container in task exited.

    I am very new to EC2 and Docker so any help would be appreciated.

  • Can not curl docker swarm from remote host
  • Docker container image on AWS
  • docker: possible to create a single file with binaries and packages installed?
  • ERROR: 'ascii' codec can't decode byte 0xe2 in position 91: ordinal not in range(128)
  • how to make ebs volume usable by docker stack
  • Cannot connect Npgsql to Postgres DB running on Docker
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.