Our code deployment pipeline uses ECR to maintain images and there are some public images that we use from Docker hub.
We would manually pull the images and then push to ECR. I would like to automate this process by pulling the latest image from Docker hub and pushing it to ECR through Lambda.
Using docker-py Python library seems to one way of doing it.
Is there another simpler way to download the image from Docker hub in the Lambda?
Source: Docker Questions