I am trying run a task definition I have in AWS ECS. I have a default cluster, and I've got a Container Instance launched on it, and I'm trying to run a task definition I've got on the instance. The task goes straight from PENDING status to STOPPED, with reason:
STOPPED (Essential container in task exited)
I dug into the instance and pulled logs from /var/log/ecs/
and was found:
Error converting stats for container XXX: Invalid container statistics reported, no cpu core usage reported
Any idea why this may be happening? I've been googling around and looking through different stack exchange sites and I'm not seeing anything helpful. Forgive me if I overlooked something.