u can run all following on docker:
same server pe all thes containers, and all continaer running on different language
In summary, Docker images are the blueprints, while Docker containers are the actual running instances based on those blueprints.
Images are templates, container is a runnable instance of a Docker image
containers can collabroate and share data unlike EC2 instacnes they rnt isloated
u can start/stop ec2 tasks apne hisaab se
Docker containers are placed inside EC2 instances
its way more easy to use fargate: alll manfged by them, u dont need any ec2 isnstance