How do I troubleshoot Amazon ECS tasks stopping or failing to start while my container exits?

Lesedauer: 2 Minute
0

My Amazon Elastic Container Service (Amazon ECS) container exits unexpectedly, and tasks stop or fail to start. How can resolve the issue?

Short description

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

For task failure due to image issues, see How do I resolve the "Image does not exist" error when my tasks fail to start in my Amazon ECS cluster?

For AWS Fargate tasks that fail due to network configuration or resource constraint issues, see Stopped tasks error codes.

Resolution

To identify why your tasks stopped, follow these troubleshooting steps:


AWS OFFICIAL
AWS OFFICIALAktualisiert vor einem Jahr