+Why that version? [moby/moby#42083](https://github.com/moby/moby/pull/42083/files) recently allowlisted the `process_vm_readv` system call that py-spy uses, which used to be blocked unless you set `--cap-add SYS_PTRACE`. If you're stuck on a very slightly older version of Docker, you _could_ use the [`seccomp.json`](https://github.com/clubby789/moby/blob/d39b075302c27f77b2de413697a5aacb034d8286/profiles/seccomp/default.json) file from 20.10.6 via `--seccomp=moby-20.10.6-seccomp.json`, if you happen to be reluctant to `--cap-add SYS_PTRACE`.
0 commit comments