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

apt-get hangs with bypass4netns #35

Closed
AkihiroSuda opened this issue Sep 25, 2022 · 6 comments
Closed

apt-get hangs with bypass4netns #35

AkihiroSuda opened this issue Sep 25, 2022 · 6 comments
Labels
bug Something isn't working

Comments

@AkihiroSuda
Copy link
Member

$ nerdctl run -it --rm --label nerdctl/bypass4netns=1 debian:11
root@1fac92b42639:/# apt-get update
Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]
0% [1 InRelease 64.9 kB/116 kB 56%]

dnf also seems very slow

bypass4netns v0.3.0, nerdctl v0.23.0 (Lima v0.12.0)

@AkihiroSuda AkihiroSuda added the bug Something isn't working label Sep 25, 2022
@naoki9911
Copy link
Collaborator

applying fcntl options fixes this problem.
This patch is just a PoC.
I'm working on re-work of bypass4netns and I will send PR when the work is finished.

naoki9911@4071b38

@AkihiroSuda
Copy link
Member Author

Thank you @naoki9911

@AkihiroSuda
Copy link
Member Author

@naoki9911 May I ask the current status of this?

@naoki9911
Copy link
Collaborator

Sorry for waiting long time.
I reimplemented bypass4netns entirely and its implementation very differs from current released one.
https://github.com/naoki9911/bypass4netns/tree/ng-b4ns

Should I make PR for this issue seperately or PR for entire reimplemented bypass4netns?

@AkihiroSuda
Copy link
Member Author

Thanks, feel free to just open a single PR for the entire work

@naoki9911
Copy link
Collaborator

Thanks! I opened #39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants