If I run
numactl --interleave=all
It will give me following errors:
set_mempolicy: Operation not permitted
setting interleave mask: Operation not permitted
I am using a Centos 7 image.
Any idea how to fix it?
Thanks!
Share and learn in the Docker community.
If I run
numactl --interleave=all
It will give me following errors:
set_mempolicy: Operation not permitted
setting interleave mask: Operation not permitted
I am using a Centos 7 image.
Any idea how to fix it?
Thanks!
try to run it with --privileged
docker run -ti --privileged centos .....
If I use the --privilieged parameter, it gives me another error.
numactl: This system does not support NUMA policy
did you try it on play-with-docker.com?
Docker blocks certain syscalls from happening. Unfortunately mempolicy is one of those
Add the following to your run file:
–security-opt seccomp=/…/seccomp.json \
Here is the custom seccomp file I used - thanks to w1ndy for providing this.