Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Add a `--netns FD` option for preexisting namespaces

Open
#698 2 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
44/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
c, linux

Research direction

No source file or test is named in the issue. Start by tracing bubblewrap's command-line handling for a new --netns FD option and compare it with the existing host and newly-created namespace paths. Done means an already-open namespace file descriptor can be selected for network sandboxing, with coverage for the option's behavior and errors.

Written by the indexing model from the issue text.

Description

The use case is for sandboxing a network service. I already have set up network namespaces to use, however bubblewrap doesn't seem to provide the option to use an already-existing namespace; it's either the hosts or a new one. As it stands one must use other container software (or unshare manually) to accomplish this.

Dominant language
C
Stars
8.8k
Forks
387
Avg merge
2d 18h
Merged PRs (30d)
17

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from containers/bubblewrap

All issues in containers/bubblewrap

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.