[AWS] Optimizing Image Storage in Amazon ECR: Understanding Layer Reuse and Immutability.
When you push an image to ECR, it is stored as a series of layers that represent the image contents. Each layer contains filesystem changes, metadata, etc. When you push a second image to ECR, even if it has different metadata, like the tag name, ECR checks the layer contents and reuses any identical layers….