docker启动容器失败 OCI runtime create failed

docker | 2022-03-06 23:13:27

1.出现异常

按照这篇文章的方法离线安装了docker

http://bcxw.net/article/829.html

但是容器创建的时候显示 created,启动就报下面的异常

Error response from daemon: OCI runtime create failed: unable to retrieve OCI runtime error (open /run/docker/containerd/daemon/io.containerd.
runtime.v1.linux/moby/266c7cb57ede8cd24a05e2acf022963c73ec6e9818b252486a2f356c53161d6a/log.json: no such file or directory): runc did not terminate sucessfully: unknown

2.解决方法

猜测是版本兼容问题

下载地址

https://download.docker.com/linux/static/stable/x86_64/

当前下载的是docker-19.03.13.tgz

我的centos版本是7.6

我把版本改成https://download.docker.com/linux/static/stable/x86_64/docker-18.06.3-ce.tgz

问题就解决了,容器能正常启动了

 

 

 

登录后即可回复 登录 | 注册
    
关注编程学问公众号