I'm working on creating a mongodb docker image that contains the backup production data of my org's primary database. However, when I try to push this image up I am greeted with this error.
[root@ip-1-2-3-4 inf-tool-docker-mongo]# docker push 1234567.dkr.ecr.us-east-1.amazonaws.com/inf-data-mongo:2.6-latest
The push refers to repository [1234567.dkr.ecr.us-east-1.amazonaws.com/inf-data-mongo]
e429ba9ffbf8: Pushing [==================================================>] 87.35GB/87.35GB
fbd84d2027f9: Pushing [==================================================>] 87.35GB/87.35GB
4f8f8804b65d: Pushed
140b510fa705: Pushed
a2f3704a5dbf: Pushed
c362c0ad1002: Pushed
16817a92834f: Pushed
5a637bac3303: Pushed
32f938d6fb4c: Pushed
70d8dfa3043e: Pushed
denied: Adding this part to the layer with upload id '1234567890-12345-12345-123456-12345' in the repository with name 'inf-data-mongo' in registry with id '1234567890' exceeds the maximum allowed size of a layer which is '10737418240'
My image is about 85gb-100gb in size as there's a lot of data in it. The Docker image runs fine but when I go to push it up to AWS ECR I get this error.
I've seen the Service Limits page here:
https://docs.aws.amazon.com/AmazonECR/latest/userguide/service_limits.html
However, it's worded a bit confusingly. Is there really nothing that I can do here? Surely I'm not the only one who wants to ship a large Docker image for convenience? What's my best path to move forward?
Thanks!