Skip to content

Commit 861f5e4

Browse files
cuihtlauacclaude
andcommitted
Revert to spec-compliant "privileged": true property
The devcontainer spec defines "privileged" as a cross-orchestrator property for image/Dockerfile scenarios. Use it instead of runArgs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent a60b195 commit 861f5e4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.devcontainer-from-scratch/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "OCaml Development (Local Build)",
33

44
// Required for TSan: allows sysctl -w vm.mmap_rnd_bits=28 at startup
5-
"runArgs": ["--privileged"],
5+
"privileged": true,
66

77
"build": {
88
"dockerfile": "../dev/Dockerfile",

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"image": "cuihtlauac/ocaml-devcontainer:latest",
66

77
// Required for TSan: allows sysctl -w vm.mmap_rnd_bits=28 at startup
8-
"runArgs": ["--privileged"],
8+
"privileged": true,
99

1010
"features": {
1111
"ghcr.io/anthropics/devcontainer-features/claude-code:1": {}

0 commit comments

Comments
 (0)