clion: docker: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process :permission denied: unknown #12210
timlincool
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
请问大家,如何使用clion连接本地docker开发doris? 我使用的是最新代码 , 使用最新镜像apache/doris:build-env-ldb-toolchain-latest,
docker启动命令式:
docker run -it -v /home/code25/.m2:/root/.m2 --privileged=true --cap-add SYS_PTRACE -v /home/code25/github/doris/:/root/doris/ apache/doris:build-env-ldb-toolchain-latest
但在toolchains设置docker时 默认找不到cmake , 我就设置为 /var/local/ldb-toolchain/bin/cmake ,但后面就报权限错误 ,请问有大佬知道如何解决吗?
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
Hi ,
I'm trying use clion toolchains docker to develop 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
Beta Was this translation helpful? Give feedback.
All reactions