Docker builds container after container?!

Hi all,

Happy to join the forum!

I’m using AWS ECS. The whole process is automated and everything looks perfect.
However when I ssh to the docker host (amazon linux ami) i notice that there is many containers created from my image instead of just one. What can cause this? Wrong ECS configuration or image with errors or something? See the photo attached.

Thank you very much in advance!

image