failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process :permission denied: unknown

Hi ,
I'm trying use clion toolchains docker to develope apache doris,
but it throws error : Test Cmake run finished with errors :
failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: \"/var/local/ldb-toolchain/bin/cmake\": stat /var/local/ldb-toolchain/bin/cmake: permission denied: unknown

because it cant detect cmake ,so I write '/var/local/ldb-toolchain/bin/cmake' on cmake textbox;

how to reproduce:
https://doris.apache.org/docs/install/source-install/compilation/

docker pull apache/doris:build-env-ldb-toolchain-latest
cd /home/xxx/github
git clone https://github.com/apache/doris.git

docker run -it -v /home/xxx/.m2:/root/.m2 --privileged=true --cap-add SYS_PTRACE -v /home/xxx/github/doris/:/root/doris/ apache/doris:build-env-ldb-toolchain-latest

thanks for help

Please sign in to leave a comment.