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
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.