Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

load cmd support gzip #587

Merged
merged 1 commit into from
Dec 2, 2021
Merged

load cmd support gzip #587

merged 1 commit into from
Dec 2, 2021

Conversation

junnplus
Copy link
Member

@junnplus junnplus commented Dec 2, 2021

Fixes #581

in = bzip2.NewReader(inbuf)
} else {
in = inbuf
}
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

Then we should fix containerd/containerd

Copy link
Member

Choose a reason for hiding this comment

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

Anyway, supporting bzip2 is probably not important. Is anyone really using bzip2 for Docker v1 archives?

Copy link
Member Author

@junnplus junnplus Dec 2, 2021

Choose a reason for hiding this comment

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

@AkihiroSuda I first change to usingDecompressStream.

@junnplus junnplus changed the title load cmd support gzip and bzip2 load cmd support gzip Dec 2, 2021
Copy link
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

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

Thanks

Signed-off-by: ye.sijun <[email protected]>
@AkihiroSuda AkihiroSuda merged commit cdc3299 into containerd:master Dec 2, 2021
@AkihiroSuda AkihiroSuda added this to the v0.14.1 milestone Dec 6, 2021
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.

nerdctl load should support loading tgz
2 participants