docker-library / postgres

Docker Official Image packaging for Postgres
http://www.postgresql.org
MIT License
2.16k stars 1.13k forks source link

Help understanding the sizes #1036

Closed flixman closed 1 year ago

flixman commented 1 year ago

Per hub.docker.com, postgres:15-alpine, 69bd7cc493f8 digest for amd/64, is 89.3 MB. However, should I pull that specific digest, I get an image that is 243 MB (~3x the claimed size). Am I reading wrong the sizes, or there is an inconsistency somewhere?

wglambert commented 1 year ago

On the hub it notes that is the "compressed size: This size is calculated by summing the image's layers, which are compressed."

flixman commented 1 year ago

@wglambert: I am an idiot, and is late. Thank you!