Skip to content

Conversation

@jalaziz
Copy link

@jalaziz jalaziz commented Oct 2, 2023

What did you implement:

Updated ImageInfo and ImageDetails to make virtual_size optional and ensure size is available.

The image VirtualSize is deprecated and Size is meant to be used as its replacement. In newer versions of the API, VirtualSize is dropped completely, causing image listing and inspection to fail due to deserialization failures.

Closes: #xxx

How did you verify your change:

What (if anything) would need to be called out in the CHANGELOG for the next release:

virtual_size on ImageInfo and ImageDetails is not optional and size should be used instead.

The image `VirtualSize` is deprecated and `Size` is meant to be used as
its replacement. In [newer versions of the API][1], `VirtualSize` is
dropped completely, causing image listing and inspection to fail due to
deserialization failures.

[1]: https://docs.docker.com/engine/api/version-history/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant