portainer: Images sizes in Images page doesn't load

Before you start please confirm the following.

Problem Description

Images sizes column in Images page doesn’t load after upgrading docker from 24.0.7 to 25.0

Expected Behavior

Images sizes column in Images page does load currently.

Actual Behavior

Images sizes column in Images page doesn’t load values at all.

Steps to Reproduce

  1. Install docker -v 25.0.0
  2. Install Portainer latest version (2.19.4)
  3. Go to images page.
  4. Check Size column.

Portainer logs or screenshots

No relevant info.

Portainer version

2.19.4

Portainer Edition

Community Edition (CE)

Platform and Version

Docker 24.0.7

OS and Architecture

Ubuntu 22.04.3

Browser

Chrome 120.0.6099.225

What command did you use to deploy Portainer?

docker run -d -p 8000:8000 -p 9443:9443 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest

Additional Information

Just trying to submit my first simple issue for contributions to Portainer. I’m aware the newest version of Docker is not tested immediately but this is what I experienced by accident. Thank you Portainers.

About this issue

  • Original URL
  • State: closed
  • Created 5 months ago
  • Reactions: 20
  • Comments: 32 (4 by maintainers)

Most upvoted comments

Because Docker 25 hadn’t been released when Portainer 2.19.4 was released, we don’t list Docker 25 on our supported versions for the release (since we obviously couldn’t test against it).

It looks like the VirtualSize deprecation was done in Docker version 24 and the removal in the subsequent major release (25.0), four weeks ago. In any case, I’ve reproduced the issue here and have opened an internal issue around it, but I don’t have an ETA as to when it will be resolved.

Internal Ref: PCT-364

oh man I simply can’t wait for this to be a “business feature”

Same for v 25.0.1

I’ve observed the same with Portainer 2.19.4 after updating to Docker 25.0.0 on Debian 12. Prior to the update of Docker the size column showed proper values - now it only shows “-”.

Propably related to https://github.com/moby/moby/pull/45469

I think the issue only happens with docker version 25.0.0 and above. These versions use the new API 1.44.

API 1.44 removed the VirtualSize field (https://github.com/moby/moby/pull/45469):

This field is deprecated since https://github.com/moby/moby/commit/1261fe69a3586bb102182aa885197822419c768c, and will now be omitted on API v1.44 and up for the GET /images/json and GET /images/{id}/json endpoints.

I’m running Portainer 2.19.4.

The same Portainer install is accessing 2 Environments in different machines.

  • one is running docker 25.0.3 (API version 1.44) - Image Sizes are gone (screenshot above).
  • the other one is running docker 24.0.7 (API version 1.43) - Image sizes are shown.

I can confirm the error…

I have tested all variants of versioning in all combinations for docker and portainer (CE/BE) for the period October 2023 to today in both a Proxmox LXC and VM.

The error occurs with docker update version 25.

This issue should now be resolved in our 2.20.1 STS release - those affected, are you able to update and confirm?

oh man I simply can’t wait for this to be a “business feature”

Wait, hold my bug 🤔 it’s a feature 🍻 💀

The same for 25.0.2 (API: 1.44). I hope it will fix