privileged container; allows ptrace
This commit is contained in:
parent
9b97f5c8ad
commit
c15060ec35
2
hangzig
2
hangzig
@ -12,7 +12,7 @@ outside() {
|
|||||||
curl -L "$bzl" -o bazel
|
curl -L "$bzl" -o bazel
|
||||||
chmod +x bazel
|
chmod +x bazel
|
||||||
fi
|
fi
|
||||||
exec docker run -ti --rm -v $(pwd):/x -w /x --name hangzig \
|
exec docker run --privileged -ti --rm -v $(pwd):/x -w /x --name hangzig \
|
||||||
--cpuset-cpus 0-1 \
|
--cpuset-cpus 0-1 \
|
||||||
-m 4096MB \
|
-m 4096MB \
|
||||||
-e CC=/usr/bin/false \
|
-e CC=/usr/bin/false \
|
||||||
|
Loading…
Reference in New Issue
Block a user