Closed RoguedBear closed 8 months ago
See #752
I will close my issue as duplicate. However going through create.go
, I should be seeing one of these output: image name with size, or image name
https://github.com/containers/toolbox/blob/cb4e5dd52dbf2b65377b3bd7eb16100e294e7214/src/cmd/create.go#L718-L723
however i still get the image size to be 500MB
└$ toolbox --version
toolbox version 0.0.99.2
The latest current release is 0.0.99.4 though I also see 500MB
ubuntu still shows the version to be 0.99.2.
I do not have skopeo installed right now, but according to the PR that closes the issue, i should see the text without the image size. I am not sure if the current output is intended or a bug
According to https://bugzilla.redhat.com/show_bug.cgi?id=2245066#c1 this is fixed already in git but not released yet unfortunately.
i see. i'll be closing the issue then
Will there a new release soon? (or even 0.1?)
Will there a new release soon? (or even 0.1?)
Soon. We need to sort this out before making a release: https://github.com/containers/toolbox/pull/1274
Is your feature request related to a problem? Please describe. whenever toolbox prompts to download a new image, it always shows the image size to be
500MB
Describe the solution you'd like Display the correct image size before pulling by getting the data from image manifest and summing all the layer sizes
example manifest
Describe alternatives you've considered NA
Additional context
Here's the line i believe that would be changed to display the correct image size: https://github.com/containers/toolbox/blob/cb4e5dd52dbf2b65377b3bd7eb16100e294e7214/toolbox#L760
although when trying to run the same command with podman, it errored out saying "
Error: unable to load manifest list: unsupported format "application/vnd.oci.image.manifest.v1+json": manifest type not supported
"I would also be willing to contribute, if this request is considered tangible enough to be added.