Skip to content

image: support import command #4456

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

Merged
merged 4 commits into from
Aug 19, 2025
Merged

Conversation

ChengyuZhu6
Copy link
Contributor

@ChengyuZhu6 ChengyuZhu6 commented Aug 8, 2025

Fixes: #4457

@ChengyuZhu6 ChengyuZhu6 force-pushed the import branch 6 times, most recently from 2669717 to 05f9a13 Compare August 8, 2025 09:15
@ChengyuZhu6 ChengyuZhu6 marked this pull request as ready for review August 8, 2025 09:17
@AkihiroSuda AkihiroSuda added this to the v2.1.4 milestone Aug 18, 2025
@ChengyuZhu6
Copy link
Contributor Author

In rootless without detach-netns (old rootlesskit), httptest server on 127.0.0.1 may be not reachable from the reexec'ed nerdctl process network namespace, causing connection refused: https://github.com/containerd/nerdctl/actions/runs/17028935400/job/48284540725?pr=4456

add unit tests for image import command

Signed-off-by: ChengyuZhu6 <[email protected]>
@ChengyuZhu6
Copy link
Contributor Author

In rootless without detach-netns (old rootlesskit), httptest server on 127.0.0.1 may be not reachable from the reexec'ed nerdctl process network namespace, causing connection refused: https://github.com/containerd/nerdctl/actions/runs/17028935400/job/48284540725?pr=4456

I've add a helper to run a cross-namespace httpserver in image import unittest, let's see if the ci can be on green.

Add helper to run a cross-namespace HTTP server.

Signed-off-by: ChengyuZhu6 <[email protected]>
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

@AkihiroSuda AkihiroSuda merged commit 2b4e092 into containerd:main Aug 19, 2025
80 of 84 checks passed
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.

Support nerdctl import/nerdctl image import command
2 participants