Check your task definition's container name, it should be "todo-ecr-container" as on your first screenshot. Take your attention for extra spaces and capitalization, it matters as well.