aboutsummaryrefslogtreecommitdiffhomepage
path: root/hst/template.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-07-29 02:21:12 +0900
committerOphestra <cat@gensokyo.uk>2025-07-29 02:23:06 +0900
commitb43d10468039a07ada412dcab83e8e074ab9ef46 (patch)
tree3eca94296dea7e9c364be9e3b29e18c6d33971a2 /hst/template.go
parentddf48a6c22d4387ff2ca2e45afbcc86fa7d81968 (diff)
app: integrate interrupt forwarding
This significantly increases usability of command line tools running through hakurei. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'hst/template.go')
-rw-r--r--hst/template.go22
1 files changed, 12 insertions, 10 deletions
diff --git a/hst/template.go b/hst/template.go
index 3f0101ea..60af2ebc 100644
--- a/hst/template.go
+++ b/hst/template.go
@@ -57,16 +57,18 @@ func Template() *Config {
Groups: []string{"video", "dialout", "plugdev"},
Container: &ContainerConfig{
- Hostname: "localhost",
- Devel: true,
- Userns: true,
- Net: true,
- Device: true,
- SeccompFlags: seccomp.AllowMultiarch,
- SeccompPresets: seccomp.PresetExt,
- Tty: true,
- Multiarch: true,
- MapRealUID: true,
+ Hostname: "localhost",
+ Devel: true,
+ Userns: true,
+ Net: true,
+ Device: true,
+ ImmediateTermination: true,
+ SeccompFlags: seccomp.AllowMultiarch,
+ SeccompPresets: seccomp.PresetExt,
+ SeccompCompat: true,
+ Tty: true,
+ Multiarch: true,
+ MapRealUID: true,
// example API credentials pulled from Google Chrome
// DO NOT USE THESE IN A REAL BROWSER
Env: map[string]string{