I am trying to use a custom seccomp
profile with docker run
command; however, I invoked with the following error-
$ sudo docker run --rm -it --security-opt seccomp=/home/temp/default.json ubuntu
docker: Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: error adding seccomp filter rule for syscall clone3: permission denied: unknown.
$ docker -v
Docker version 20.10.8, build 3967b7d
What would be the possible cause for this issue?
Note that, I have modified the default seccomp
profile file to enable the Linux perf tool
(I have followed this post).