Skip to content

Commit d0506c8

Browse files
authored
Update local commands to fix cgroups v2 issues. (#276)
Fixes #271.
1 parent bdeda74 commit d0506c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ To run this on a live package (e.g. the "Django" package on
8585

8686
```bash
8787
$ mkdir /tmp/results
88-
$ docker run --privileged -ti \
88+
$ docker run --cgroupns=host --privileged -ti \
8989
-v /tmp/results:/results \
9090
-v /var/lib/containers:/var/lib/containers \
9191
gcr.io/ossf-malware-analysis/analysis analyze \
@@ -100,7 +100,7 @@ named `test`), it needs to be mounted into the the container.
100100

101101
```bash
102102
$ mkdir /tmp/results
103-
$ docker run --privileged -ti \
103+
$ docker run --cgroupns=host --privileged -ti \
104104
-v /tmp/results:/results \
105105
-v /var/lib/containers:/var/lib/containers \
106106
-v /path/to/test.whl:/test.whl \

0 commit comments

Comments
 (0)