Skip to content

Commit c9da48d

Browse files
author
bootc-dev Bot
committed
Sync common files from infra repository
Synchronized from bootc-dev/infra@1c2a5bc. Signed-off-by: bootc-dev Bot <bot@bootc.dev>
1 parent beeb127 commit c9da48d

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.bootc-dev-infra-commit.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
e15b9622fcef58276464960124823108858dc646
1+
1c2a5bc48c08d077982cbae3bb9cd03e2923683a

.devcontainer/devcontainer.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,16 @@
1313
},
1414
"features": {},
1515
"runArgs": [
16-
// Minimal security options for nested podman (avoids --privileged):
17-
// - label=disable: Required for mounting /proc in nested user namespace
18-
// - unmask=/proc/*: Allows access to /proc paths needed for nested containers
16+
// In general we hope that the outer environment has set up
17+
// a user namespace to keep this secure.
18+
"--cap-add=all",
19+
// Required for mounting /proc in nested user namespace
1920
"--security-opt", "label=disable",
21+
// Allows access to /proc paths needed for nested containers
2022
"--security-opt", "unmask=/proc/*",
2123
// Device access for nested containers and VMs
2224
"--device", "/dev/net/tun",
25+
// I always want KVM
2326
"--device", "/dev/kvm"
2427
],
2528
"postCreateCommand": {

0 commit comments

Comments
 (0)