containers / containers/bubblewrap

kill background processes on exit

Open
#105 5 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
C
Stars
8.7k
Forks
386
Avg merge
3d 17h
Merged PRs (30d)
11

Description

I run an application using bubblewrap that forks off a number of background processes. When closing the application, the background processes are not always cleaned up, so if I run `lsns`, I will still see `bwrap` running and the background processes as its children. To clean up the namespace, I have to send the `KILL` signal to `bwrap`.

Is it possible for `bwrap` to automatically kill everything in the namespace when the foreground process terminates? Or is there a reason why that wouldn't be appropriate?

BTW, bubblewrap is awesome; thanks for writing 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.