Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Container image size calculation does not always work

    Scheduled Pinned Locked Moved Support
    3 Posts 2 Posters 12 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      pg_user_8607
      last edited by pg_user_8607

      Hey there,

      i noticed on my instance that the container image size calculation does not always work. I pushed a ~20GB Windows container image and the layer sizes look good. But the size column on the overview (/containers) page just shows 0 bytes.

      The problem is also visible on the ProGet 1000 instance. So maybe you can check / debug it there:

      94bc12f4-fdf4-4ae2-8ca2-a6d5e50fa3a3-image.png

      inedo/buildmaster:25 => 0 bytes

      but on https://proget1000.inedo.com/containers/tags/ProductImages/inedo/buildmaster/25.0.12/layers the sizes look good

      Is this intentional? Maybe somehow related to a :25 or :lastest tag which resolved to some other version?

      atrippA 1 Reply Last reply Reply Quote 0
      • atrippA Offline
        atripp inedo-engineer @pg_user_8607
        last edited by

        Hi @pg_user_8607 ,

        Nice find with that image; that makes it easier to demonstrate :)

        This is unfortunately another "weird docker thing" that would requires a substantial amount of internal model changes to properly address. That's not on our roadmap at this time.

        The image you found (inedo/buildmaster:25.0.12) is a so-called "fat manifest" (i.e. a manifest that points to another manifest). As such, there are zero layers (blobs) and thus the sum of all blob sizes is zero.

        The 25.0.12 manifest points to e84148156b3e, which is an untagged image. You can see this on the "Sub Images" page:

        d033fdc6-db9d-42e5-9bbb-4947480b8117-{ABA1659C-EBB0-4096-A6E5-000164D47566}.png

        The /containers page does not show untagged images.

        In the past, "fat manifests" were rare - but the default Docker build tools default to create fat manifests, even if there's only one image. It's something we will likely address down the line, it's just not in the roadmap now.

        Thanks,
        Alana

        1 Reply Last reply Reply Quote 1
        • P Offline
          pg_user_8607
          last edited by

          Thank you very much for the detailed answer!

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1 / 1
          • First post
            Last post
          Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation