How do I troubleshoot issues with containers exiting in my Amazon ECS tasks?

Last updated: 2019-07-26

My Amazon Elastic Container Service (Amazon ECS) service fails to start tasks in my cluster when my container exits. How can I resolve this issue?

Short Description

Your containers can exit due to application issues, resource constraints, or other issues.

To stop your containers from exiting so that your tasks can start, consider the troubleshooting options in the Resolution section.

Note: If your tasks are failing to start due to image issues, follow the instructions at How do I resolve the "Image does not exist" error when my tasks fail to start in my Amazon ECS cluster?

Resolution

Consider the following troubleshooting options:


Did this article help you?

Anything we could improve?


Need more help?