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/Docker or Docker for AWS and Deployment on AWS EC2How to send requests to a web server running inside a docker container inside an AWS EC2 machine from the outside world?Dokku Port configuration problems EC2Airbnb Airflow using all system resourcesslow pg_restore on docker container startupWill single docker container scale automatically on Amazon's EC2?
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.