parrot_run gives fatal: could not trace child
My OS Version: macOS 11.2.1 My device: MacBook Air 2020 with M1 chip
I followed the instruction and ran the following code:
git clone https://gitlab.cern.ch/lhcb/upgrade-hackathon-setup.git hackathon
cd hackathon
./lb-docker-run --home --ssh-agent --force-cvmfs --debug
Here's the shell output after running the commands above
DEBUG:root:b'Docker version 20.10.3, build 48d30b5'
DEBUG:root:mounting /cvmfs in container
WARNING:root:requested to mount /cvmfs in container, forcing --privileged
DEBUG:root:using LbEnv-stable
DEBUG:root:mounting host /Users/hangyi/workspaces/hackathon as container /workspace
DEBUG:root:using persistent home directory (/Users/hangyi/.local/docker/centos7-build-home/)
DEBUG:root:sharing ssh-agent with container
DEBUG:root:calling ['docker', 'run', '--rm', '-it', '--privileged', '-v', '/Users/hangyi/workspaces/hackathon:/workspace', '-v', '/Users/hangyi/.local/docker/centos7-build-home/:/userhome', '-v', '/private/tmp/com.apple.launchd.seWH9c17mx/Listeners:/private/tmp/com.apple.launchd.seWH9c17mx/Listeners', '-w', '/workspace', '-e', 'LBENV_CURRENT_WORKSPACE=/workspace', '-e', 'LHCB_ENV_MODE=lbenv-stable', '-e', 'SSH_AUTH_SOCK', '-e', 'CMTCONFIG=x86_64-centos7-gcc8-opt', 'gitlab-registry.cern.ch/lhcb-core/lbdocker/centos7-build:v4']
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
2021/02/24 05:12:23.08 parrot_run[26] notice: parrot_run 7.0.14 FINAL from source has not been tested on Linux 4.19.121-linuxkit yet, this may not work
2021/02/24 05:12:23.32 parrot_run[26] fatal: could not trace child
2021/02/24 05:12:23.32 parrot_run[26] notice: received signal 15 (Terminated), killing all my children...
2021/02/24 05:12:23.32 parrot_run[26] notice: sending myself 15 (Terminated), goodbye!
/etc/entrypoint.sh: line 59: 26 Terminated /opt/cctools/bin/parrot_run ${PARROT_OPTIONS} -w $workdir true
ERROR: in-container mount of /cvmfs requires '--security-opt seccomp=unconfined' option to docker run
I really appreciate your time in going through this issue.