How to put built local Docker container on an AWS EC2 Centos 7 Server?

Hey guys I'm very new to both Docker and AWS and my current task is to deploy my Docker image specifically on a Centos 7 server. Currently I have a small Python Flask app Docker image built but I'm not sure how to get it onto the Centos 7 EC2 server which has Docker installed on it.

From browsing I can see that I can probably deploy it using ECS/ECR but I'm not sure if there's a difference with deploying it specifically on that Centos 7 server?

submitted by /u/animusdx
[link] [comments]
Source: Reddit