failed to create shim: OCI runtime create failed

failed to create shim: OCI runtime create failed: unable to retrieve OCI runtime error 
(open /run/containerd/io.containerd.runtime.v2.task/default/40747996c67be9a4cb5b9c9a56b4a0684f0f5cdce30f083ba9509a6758e15a08/log.json: no such file or directory): 
runc did not terminate successfully: exit status 127: unknown

runc: symbol lookup error: runc: undefined symbol: seccomp_api_get

runc所在的主机为debian 10.11,containerd版本为1.5.7,
但是libseccomp-dev的版本太低了,默认为2.3版本吧,
需要通过debian sid源升级到2.5版本

deb http://ftp.de.debian.org/debian sid main 添加到apt的位置文件

apt update

apt install libseccomp-dev -y 
安装2.5版本

升级此包之后, runc可以顺利的创建容器了

你可能感兴趣的:(Docker,Linux,MircSystemctl,runc,containerd,容器,debian)