i just uploaded docker image to aws ecr. my actual docker image locally is 927 MB while on ECR it is showing 321 MB
is there anything i am missing to read during documentation ?
i have uploaded image is proper with tag name but size change is there
This is due to how docker client acts before it pushes the image to ECR, So the size on the ECR dashboard is a size for a compressed version of your image as documented:
Beginning with Docker version 1.9, the Docker client compresses image layers before pushing them to a V2 Docker registry. The output of the docker images command shows the uncompressed image size, so it may return a larger image size than the image sizes shown in the AWS Management Console.