Skip to content

Conversation

@ndeloof
Copy link
Collaborator

@ndeloof ndeloof commented Jul 8, 2022

- What I did
render docker pull progress

- How I did it
poll content.Store for active pulls and pushProgress data according to moby's API

@ndeloof ndeloof requested review from rumpl and vvoland July 8, 2022 13:31
@thaJeztah
Copy link
Collaborator

When upstreaming:

combine with one or more of;

Comment on lines +98 to +109
unpacked, err := img.IsUnpacked(ctx, containerd.DefaultSnapshotter)
if err != nil {
return err
}

if !unpacked {
if err := img.Unpack(ctx, containerd.DefaultSnapshotter); err != nil {
return err
}
}
stop <- struct{}{}
<-stop
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Heads up: this code is removed in a later PR, so (perhaps?) can be squashed

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.

4 participants