containers / containers/bubblewrap

Entering an existing sandbox created by bubblewrap without special privileges

Open
#253 1 comment 3 reactions 0 assignees View on GitHub
Dominant language
C
Stars
8.7k
Forks
386
Avg merge
3d 17h
Merged PRs (30d)
11

Description

`bubblewrap` creates namespaces without special privileges, but it can only create new ones. In order to enter those namespaces, `nsenter` should be run with `CAP_SYS_ADMIN`.

In the GNOME launcher we an launch new instances of an application. However, the two instances of the application are in two different namespaces, which confuses the application and wastes system resources.

One way is to implement some listener in the running `bwrap` process with authentication, and when the user requests to launch something new inside the sandbox, launch it.

PS: This would introduce many complex logic, and IMHO C++ may be a better tool for it.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.