Search code examples
amazon-web-servicesdockeramazon-ecsamazon-ecr

AWS ECS Tasks disappear directly after running them


I try to run a Docker Image in AWS ECS. When I run a Task it says Pending, then when I press the refresh button the task is no longer listed, it's completely gone. What is the cause of this?

I expected the status of the task to go from Pending to Running. I have tried to make sure there is enough memory for the task to run, and that there is no permission missing.


Solution

  • The default view is Running tasks; Change that to either All Tasks or Stopped tasks

    Running Tasks