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

Support new --netns-type=tapfd #340

Merged
merged 1 commit into from
Mar 28, 2024

Conversation

helmutg
Copy link
Contributor

@helmutg helmutg commented Mar 25, 2024

The new value tapfd enables removing slirp4netns features. Rather than having it figure out where to create a tap network, the opened tap file descriptor can now be inherited to slirp4netns and used as is. This removes the need for forking and attaching a namespace as well as readiness communication, but it also removes the ability to choose the name of the network interface or configuring it.

The new value tapfd enables removing slirp4netns features. Rather than
having it figure out where to create a tap network, the opened tap file
descriptor can now be inherited to slirp4netns and used as is. This
removes the need for forking and attaching a namespace as well as
readiness communication, but it also removes the ability to choose the
name of the network interface or configuring it.

Signed-off-by: Helmut Grohne <helmut@subdivi.de>
@helmutg helmutg marked this pull request as ready for review March 25, 2024 06:51
@AkihiroSuda AkihiroSuda added this to the v1.2.4 milestone Mar 27, 2024
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 f9f45d5 into rootless-containers:master Mar 28, 2024
8 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.

2 participants