Fix docker `Unknown runtime specified oci` error
来源:互联网 发布:java string变量类型 编辑:程序博客网 时间:2024/05/17 22:23
Long time no post, but this one is important. Or it was to me, at least.
Not long ago I upgraded Docker on my OpenSUSE Tumbleweed system. I can't tell for sure what version I was upgrading from and to, but right now I'm on version 1.12.5
. Shouldn't be far back :-)
So, whenever I was trying to boot an existing container, I was getting something similar to:
Error response from daemon: Unknown runtime specified oci Error: failed to start containers: es20
My solution to this was to follow these steps:
- Find the ID of the troublesome container:
docker ps -a
- Find its directory in
/var/lib/docker/containers/<ID>/
- In there, look for
hostconfig.json
and remove theoci
value of theRuntime
property. - Restart the docker process
sudo systemctl restart docker
(if you have systemd)
Not going to enter the details I was a bit forced to go through until I reached this easy fix. Just do that and boot happily ever after!
http://umbra.xyz/fix-docker-unknown-runtime-specified-oci-error/
0 0
- Fix docker `Unknown runtime specified oci` error
- Docker:Error response from daemon: Cannot restart container lnmp: oci runtime error: container_linux
- docker build invalid header field value "oci runtime error: container_linux.go:247: starting contain
- error: unknown field ‘ioctl’ specified in initializer
- error: unknown field ‘ioctl’ specified in initializer
- error: unknown field ‘ioctl’ specified in initializer
- error : unknown field 'ioctl' specified in initializer
- error: unknown field ‘ioctl’ specified in initializer
- error:unknown field 'ioctl' specified in initializer
- error: unknown field ‘ioctl’ specified in initializer
- error: unknown field ‘ioctl’ specified in initializer
- error: unknown field 'ioctl' specified in initializer
- error:unknown field 'ioctl' specified in initializer
- error:unknown field ioctl specified in initializer
- error: unknown field ‘ioctl’ specified in initializer
- How to Completely Fix Runtime Error 216 Error
- invalid header field value "oci runtime error: container_linux.go:247
- error: unknown field 'ioctl' specified in initializer (1)
- java通过xls上传数据
- 关于类的虚拟析构函数、纯虚拟析构函数
- tornado框架的学习与应用
- 前端emmet插件安装
- 项目小结
- Fix docker `Unknown runtime specified oci` error
- 实现“延迟消息”功能
- 基于HTML5的视频播放器
- Jvascript正则表达式 学习
- el表达式截取时间字符串
- C语言学习历程——编程练习2——09
- Java解惑学习有感(六)---库之谜
- 离散基础 (9). 整除性
- AdaBoost训练出现问题:Train dataset for temp stage can not be filled