microscaling / imagelayers-graph

A visualization tool to inspect and optimize Docker images used in your projects.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

My image loads whith 0 bytes

golcinab opened this issue · comments

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.

Taking a look...

@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.

@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.

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

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 microscaling/imagelayers#26
microscaling/imagelayers#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
#85 (comment)

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

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
#85 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AGF8V82577JD2l4DEfXFkAMG7_AzKOCoks5qLtbigaJpZM4HheIk
.

Kind regards,
Luis Pabon

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

@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".

@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)