Note: While you maybe able to build a docker image that is of a large size locally (say 10GB), the layers cannot be bigger than 5GB when Amazon S3 is used as the storage backend. This isn’t a DTR limitation, rather an S3 limitation it appears. According to AWS, while the maximum object size can be up to 5TB, the maximum single file upload (PUT) is 5GB.
Trying a docker push to DTR with a layer larger than 5GB will result in an error
The total volume of data and number of objects you can store are unlimited. Individual Amazon S3 objects can range in size from a minimum of 0 bytes to a maximum of 5 terabytes. The largest object that can be uploaded in a single PUT is 5 gigabytes. For objects larger than 100 megabytes, customers should consider using the Multipart Upload capability.
This is less of a complaint, and more of a notification for folks on what i’ve found. I don’t think DTR will split a layer up as a multi-part upload by default.