Skip to content

Compute image VirtualSize#6

Merged
ndeloof merged 1 commit intorumpl:masterfrom
ndeloof:img_virtual_size
Jul 6, 2022
Merged

Compute image VirtualSize#6
ndeloof merged 1 commit intorumpl:masterfrom
ndeloof:img_virtual_size

Conversation

@ndeloof
Copy link
Collaborator

@ndeloof ndeloof commented Jul 6, 2022

- What I did
Compute image VirtualSize as the sum of all layers disk usage

- How I did it
inspired by https://github.com/containerd/nerdctl/blob/afee9a509a30fb965e0490ebb0c418f7241c0750/cmd/nerdctl/images.go#L362

@ndeloof ndeloof requested review from rumpl, thaJeztah and vvoland July 6, 2022 08:04
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
@ndeloof ndeloof force-pushed the img_virtual_size branch from 4575b6e to 7a5da86 Compare July 6, 2022 09:04
@ndeloof ndeloof merged commit 3c8e385 into rumpl:master Jul 6, 2022
@ndeloof ndeloof deleted the img_virtual_size branch July 6, 2022 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants