ERROR: for XXXX Cannot start se
2023-04-26 本文已影响0人
我是个杀手啊
【问题描述】
docker 从18.06.3升级到23.0.1版本后执行docker-compose up -d报错“ERROR: for XXXX Cannot start service datav: unknown runtime "io.containerd.runc.v2": not found”
ERROR: for XXXX Cannot start service datav: unknown runtime "io.containerd.runc.v2": not found
Creating XXXX ... error
ERROR: for XXXX Cannot start service postgres: unknown runtime "io.containerd.runc.v2": not found
Creating XXXX ... error
ERROR: for XXXX Cannot start service seaweedfs: unknown runtime "io.containerd.runc.v2": not found
【问题处理】
- io.containerd.runc.v2和containerd-shim-runc-v2命令有关,确认是否该命令
- 有命令 查看/run/containerd/目录是否有io.containerd.runtime.v2信息
[root@iZ8vb583yzw37dulyrjrgoZ d-sensor]# ls /run/containerd/
containerd.sock io.containerd.runtime.v1.linux
- 删除containerd.sock、 io.containerd.runtime.v1.linux文件 后重启docker