Docker容器未开始提供“ OCI运行时创建失败”消息。 [英] Docker container not starting giving "OCI runtime create failed"

查看:544
本文介绍了Docker容器未开始提供“ OCI运行时创建失败”消息。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了 Docker版本 17.12.0-ce,版本为c97c6d6

当我尝试启动任何容器时,它给出以下错误

I have installed the Docker version 17.12.0-ce, build c97c6d6
When I try to start any container it gives the following error


docker:来自守护程序的错误响应:OCI运行时创建失败:无法检索OCI运行时错误(打开/run/docker/containerd/daemon/io.containerd.runtime.v1.linux/moby/2c910acea8a0cdd4ea6e2dd87616897b4e62b0913ba5014415bd6066eaf36868/

docker: 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/2c910acea8a0cdd4ea6e2dd87616897b4e62b0913ba5014415bd6066eaf36868/


$ b

docker info:

docker info :


[root @ MDMNext99001 /]#docker info

容器:1 < br>
运行:0

暂停:0

停止:1

图片:1

服务器版本:17.12 .0-ce

存储驱动程序:devicemapper

池名称:docker-8:2-137344840-pool

池块大小:65.54kB

基本设备大小:10.74GB

支持的文件系统:xfs

Udev Sync支持ed:true

数据文件:/ dev / loop0

元数据文件:/ dev / loop1

数据循环文件:/ var / lib / docker / devicemapper / devicemapper / data

元数据循环文件:/ var / lib / docker / devicemapper / devicemapper / metadata

使用的数据空间:46.2MB

数据空间总计:107.4GB

数据空间可用:39.08GB

使用的元数据空间:675.8kB

元数据空间总计:2.147GB

元数据可用空间:2.147GB

精简池最小可用空间:10.74GB

启用延迟删除:true

启用延迟删除:true

延迟删除的设备计数:0

库版本:1.02.107-RHEL7(2015-10-14)

记录驱动程序:json文件

Cgroup驱动程序:cgroupfs

插件:

数量:本地

网络:网桥主机macvlan空覆盖

日志:awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog

Swar m:活动

节点ID:h13ain31eiurodrbe3bzz9bz3

运行时:runc

默认运行时:runc

初始化二进制文件:docker-init

容器版本:89623f28b87a6004d4b785663257362d1658a729

runc版本:N / A(预期:b2567b37d7b75eb4cf325b77297b140ea686ce8f)

初始版本:949e6fa

安全选项:
seccomp

配置文件:default

内核版本:3.10.0-327.el7.x86_64

操作系统:Red Hat Enterprise Linux Server 7.2 (Maipo)

[root@MDMNext99001 /]# docker info
Containers: 1
Running: 0
Paused: 0
Stopped: 1
Images: 1
Server Version: 17.12.0-ce
Storage Driver: devicemapper
Pool Name: docker-8:2-137344840-pool
Pool Blocksize: 65.54kB
Base Device Size: 10.74GB
Backing Filesystem: xfs
Udev Sync Supported: true
Data file: /dev/loop0
Metadata file: /dev/loop1
Data loop file: /var/lib/docker/devicemapper/devicemapper/data
Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
Data Space Used: 46.2MB
Data Space Total: 107.4GB
Data Space Available: 39.08GB
Metadata Space Used: 675.8kB
Metadata Space Total: 2.147GB
Metadata Space Available: 2.147GB
Thin Pool Minimum Free Space: 10.74GB
Deferred Removal Enabled: true
Deferred Deletion Enabled: true
Deferred Deleted Device Count: 0
Library Version: 1.02.107-RHEL7 (2015-10-14)
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: active
NodeID: h13ain31eiurodrbe3bzz9bz3
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 89623f28b87a6004d4b785663257362d1658a729
runc version: N/A (expected: b2567b37d7b75eb4cf325b77297b140ea686ce8f)
init version: 949e6fa
Security Options:
seccomp
Profile: default
Kernel Version: 3.10.0-327.el7.x86_64
Operating System: Red Hat Enterprise Linux Server 7.2 (Maipo)

警告:devicemapper:强烈建议不要将
用于生产环回设备。使用-storage-opt dm.thinpooldev
指定自定义块存储设备。

WARNING: devicemapper: usage of loopback devices is strongly discouraged for production use. Use --storage-opt dm.thinpooldev to specify a custom block storage device.


警告:bridge-nf-call-iptables已禁用警告:
bridge-nf-call-ip6tables已禁用

WARNING: bridge-nf-call-iptables is disabled WARNING: bridge-nf-call-ip6tables is disabled


我尝试运行其他容器,但给出相同的错误。
我是Docker的新手,将不胜感激。

I tried running different container but it gives the same error. I am new to docker, any help or direction will be appreciated.

推荐答案

RHEL 7.2已不再受支持,并且Docker不会针对不支持的版本测试其发行版。您需要将操作系统升级到7.4,才能解决此问题。

RHEL 7.2 is no longer supported and Docker does not test their release against unsupported versions. You need to upgrade your OS, preferably to 7.4, to resolve this issue.

过去几天,我看到一些人遇到了类似的问题,并且解决了同样的问题通过升级操作系统来显示错误消息。一些较旧的软件包不再与较新的Docker版本一起使用。这些问题之一是过时的libseccomp: https://github.com/moby/moby/issues / 35906

I've seen a few people with similar issues in the past few days that resolved this same error message by upgrading their OS. Some of the older packages no longer work with newer docker releases. One of those problems is an outdated libseccomp: https://github.com/moby/moby/issues/35906

这篇关于Docker容器未开始提供“ OCI运行时创建失败”消息。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆