microscaling / imagelayers-graph

A visualization tool to inspect and optimize Docker images used in your projects.
Apache License 2.0
165 stars 35 forks source link

My image loads whith 0 bytes #85

Open golcinab opened 8 years ago

golcinab commented 8 years ago

Loading my image in imagelayers.io show image size with 0 bytes that is not real. On hardisk, imagesize is quite 18Mb.

https://imagelayers.io/?images=golcinab%2Fswissknife:latest.

bohanyang commented 8 years ago

Same: https://imagelayers.io/?images=bohan%2Fonemirror:latest Please fix it.

rafabene commented 8 years ago

Same for me. Check https://imagelayers.io/?images=rafabene%2Ftest-wildfly10-wrong:latest,rafabene%2Ftest-wildfly10-right:latest

viossat commented 8 years ago

Same here: https://imagelayers.io/?images=viossat%2Fbind9

CumpsD commented 8 years ago

Just found out as well: https://imagelayers.io/?images=exira%2Fnginx:latest,exira%2Fphp-fpm:latest,exira%2Fdata-wordpress:latest,exira%2Fbase:latest

image

luispabon commented 8 years ago

Same here: https://imagelayers.io/?images=phpdockerio%2Fphp7-fpm:latest

schuhschuh commented 8 years ago

+1 https://imagelayers.io/?images=biomedia%2Fmirtk:latest

vixns commented 8 years ago

+1 https://imagelayers.io/?images=vixns%2Fhaproxy:latest

choobs-dev commented 8 years ago

+1 https://imagelayers.io/?images=choobs/mariadb:pinba https://imagelayers.io/?images=choobs%2Fphp:latest https://imagelayers.io/?images=choobs%2Fpinboard:latest

ckleban commented 8 years ago

Taking a look...

jfusterm commented 8 years ago

All my images show 0 bytes as well.

https://imagelayers.io/?images=jfusterm%2Fnginx:latest

PHLAK commented 8 years ago

Same with these images: https://imagelayers.io/?images=theinnercircle%2Ficbot:latest,phlak%2Ftransmission:latest,phlak%2Fsyncthing:latest,phlak%2Fflexget:latest

LionHeartFXCX commented 8 years ago

@golcinab i think it's the docker version's issue.You can have a look at your image's build details,if it is under the version 1.10 such as 1.9 or 1.8, Imagelayers will show the virtual size of image. Yesterday, i read the new doc for docker image's layers https://docs.docker.com/engine/userguide/storagedriver/imagesandcontainers/ in version 1.10, Docker has a new content addressable storage model, i think it is reason why Imagelayers does not work.

PHLAK commented 8 years ago

@golcinab That sounds logical. However, this is still a problem with ImageLayers that they need to fix. All containers going forward will be using this new format.

smebberson commented 8 years ago

Same with mine https://imagelayers.io/?images=smebberson%2Falpine-apache:latest

tjdett commented 8 years ago

This is almost certainly better tracked at CenturyLinkLabs/imagelayers#26, because it's probably not a GUI bug.

ckleban commented 8 years ago

The issue is the underlying docker libraries that imagelayers uses. They don't support the newer Docker stuff.

We have on our back log to either improve the underlying library we use or replace it with something up to date. However, if anyone out there wants to take this work on and submit a PR, that would be awesome.

On Mon, Apr 4, 2016 at 10:00 PM, Tim Dettrick notifications@github.com wrote:

This is almost certainly better tracked at CenturyLinkLabs/imagelayers#26 https://github.com/CenturyLinkLabs/imagelayers/issues/26, because it's probably not a GUI bug.

— You are receiving this because you commented. Reply to this email directly or view it on GitHub https://github.com/CenturyLinkLabs/imagelayers-graph/issues/85#issuecomment-205644541

joshbalfour commented 8 years ago

it's the same for me: https://imagelayers.io/?images=joshbalfour%2Fcloudwatch-logs:latest

viossat commented 8 years ago

Same thing now for most of the official images: Busybox, Alpine, Ubuntu, CentOS, Mongo, Node, ...

luispabon commented 8 years ago

Yah, everyone's switching to latest docker as docker hub is discontinuing support to the old image format.

On Tue, 14 Jun 2016, 17:29 Mathieu Viossat, notifications@github.com wrote:

Same thing now for most of the official images: Busybox, Alpine, Ubuntu, CentOS, Mongo, Node, ...

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/CenturyLinkLabs/imagelayers-graph/issues/85#issuecomment-225938048, or mute the thread https://github.com/notifications/unsubscribe/AGF8V82577JD2l4DEfXFkAMG7_AzKOCoks5qLtbigaJpZM4HheIk .

Kind regards, Luis Pabon

lizrice commented 8 years ago

We loved this functionality from ImageLayers, and we've built something similar into MicroBadger that works with V2 of the Docker Registry API

frol commented 8 years ago

@lizrice Your link is broken (it is relative). It would be nice to also have "size on disk" just like ImageLayers badge provided in addition or instead of "download size".

lizrice commented 8 years ago

@frol fixed link, thanks for pointing that out! And noted about having the disk size too. (We need to have set up an issues list to track ideas like this, hopefully will have that done later today)