klren0312 / daliy_knowledge

知识积累,正确使用方式是watch
21 stars 4 forks source link

docker运行镜像报错failed to create shim task: OCI runtime create failed: unable to retrieve OCI runtime error(xxxx): no such file or directory): runc did not terminate successfully: exit status 127: runc: symbol lookup error: runc: undefined symbol: seccomp_api_get #777

Open klren0312 opened 11 months ago

klren0312 commented 11 months ago

需要升级libseccomp版本

1. 查询当前的版本

sudo rpm -qa | grep libseccomp
# libseccomp-2.3.3-3.el8.x86_64

2. 卸载当前版本

sudo rpm -e libseccomp-2.3.3-3.el8.x86_64 --nodeps

3. 安装最新版

yum provides libseccomp
libseccomp-2.5.1-1.el8.i686 : Enhanced seccomp library
Repo        : BaseOS
Matched from:
Provide    : libseccomp = 2.5.1-1.el8

libseccomp-2.5.1-1.el8.x86_64 : Enhanced seccomp library
Repo        : BaseOS
Matched from:
Provide    : libseccomp = 2.5.1-1.el8
yum install libseccomp-2.5.1-1.el8.x86_64 -y

4. 参考资料

https://blog.csdn.net/weixin_42072280/article/details/129817210