1
0
mirror of https://github.com/containers/bootc.git synced 2026-02-05 15:45:53 +01:00

Sync common files from infra repository

Synchronized from bootc-dev/infra@e15b9622fc.

Signed-off-by: bootc-dev Bot <bot@bootc.dev>
This commit is contained in:
bootc-dev Bot
2026-01-28 21:59:06 +00:00
committed by John Eckersberg
parent 5c52b25ef9
commit c7c6d52e51
3 changed files with 16 additions and 7 deletions

View File

@@ -13,9 +13,14 @@
},
"features": {},
"runArgs": [
// Because we want to be able to run podman and also use e.g. /dev/kvm
// among other things
"--privileged"
// Minimal security options for nested podman (avoids --privileged):
// - label=disable: Required for mounting /proc in nested user namespace
// - unmask=/proc/*: Allows access to /proc paths needed for nested containers
"--security-opt", "label=disable",
"--security-opt", "unmask=/proc/*",
// Device access for nested containers and VMs
"--device", "/dev/net/tun",
"--device", "/dev/kvm"
],
"postCreateCommand": {
// Our init script