How to diagnose ECS Fargate task failing to start?

前端 未结 5 2192
生来不讨喜
生来不讨喜 2021-02-19 03:32

I\'m trying to launch/run a Dockerfile on AWS using their ECS service. I can run my docker image locally just fine, but it\'s failing on the Fargate launch type. I\'ve uploaded

5条回答
  •  -上瘾入骨i
    2021-02-19 04:10

    I may be late to the party, but you can check the container logs instead of the tasks'.

    Go to the failed task -> Details -> Container (at the bottom) and open it. Right under details you'll see a Status reason.

    Opening the container details

    Getting the reason for failure

    Note: if your task runs more than one container, check the 'Status reason' of each container as per the screenshot above, as it can be different between them.

提交回复
热议问题