1. 程式人生 > >docker執行容器報錯:Error response from daemon: OCI runtime create failed

docker執行容器報錯:Error response from daemon: OCI runtime create failed

今天在虛擬機器執行docker映象時,一直報錯(具體報錯原因待分析),檢查了系統核心和作業系統版本,也沒有找到結果。

[[email protected] ~]# cat /etc/redhat-release 

CentOS Linux release 7.2.1511 (Core)

[[email protected][[email protected] ~]# docker version
Client:
 Version:17.12.1-ce
 API version:1.35
 Go version:go1.9.4
 Git commit:7390fc6
 Built:Tue Feb 27 22:15:20 2018
 OS/Arch:linux/amd64

Server:
 Engine:
  Version:17.12.1-ce
  API version:1.35 (minimum version 1.12)
  Go version:go1.9.4
  Git commit:7390fc6
  Built:Tue Feb 27 22:17:54 2018
  OS/Arch:linux/amd64

  Experimental:false

報錯資訊:

[[email protected] yum.repos.d]# docker run -it centos echo haha

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/6602807a7f1a03689a847741b0a10171788f7bed2aa92a4dff35c429b02248d1/log.json: no such file or directory): docker-runc did not terminate sucessfully: docker-runc: symbol lookup error: docker-runc: undefined symbol: seccomp_version

解決方法:

升級系統到7.4,即可解決

執行yum update,時間比較長,耐心等待。

[[email protected] ~]# cat /etc/redhat-release 

CentOS Linux release 7.4.1708 (Core) 

[[email protected] ~]# docker run -it centos echo haha

haha

還有一個解決方法時安裝低版本的docker,docker與作業系統的版本依賴性特別強,在安裝時務必要注意!

外國人是這樣解釋的:

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.

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


oracle交流qq群:27877619


相關推薦

docker執行容器Error response from daemon: OCI runtime create failed

今天在虛擬機器執行docker映象時,一直報錯(具體報錯原因待分析),檢查了系統核心和作業系統版本,也沒有找到結果。[[email protected] ~]# cat /etc/redhat-release CentOS Linux release 7.2.151

docker啟動 docker: Error response from daemon: OCI runtime create failed: container_linux.go:348

RoCE 問題 解決 roc process -- apt-get containe apt 問題描述 doker啟動時,報錯:docker: Error response from daemon: OCI runtime create failed: container

docker: Error response from daemon: OCI runtime create failed

docker: Error response from daemon: OCI runtime create failed 前言 錯誤訊息 發生原因 參考連結 前言 這個錯誤是筆者在使用以下指令: NV_GPU=0,1 nvi

dockerdocker啟動、重啟、關閉命令,附帶docker啟動容器docker: Error response from daemon: driver failed programming external connectivity on endpoint es2-node

在關閉並放置centos 的防火牆重啟之後【操作:https://www.cnblogs.com/sxdcgaq8080/p/10032829.html】 啟動docker容器就發現開始報錯: [[email protected] elasticSearch]# docker run -d

docker啟動容器IPv4 forwarding is disabled. Networking will not work

報錯 onf con lan isa war ces -s comm 報這個錯誤會導致宿主機以外的pc 訪問不了容器 按照網上的解決辦法: 在/usr/lib/sysctl.d/00-system.conf文件後加net.ipv4.ip_forward=1 即可docker

docker安裝啟動Error starting daemon: SELinux is not supported with the overlay2

環境:centos7命令:systemctl start docker          systemctl status docker -l報錯:Error starting daemon: SELinux is not supported with the overlay

docker執行命令Got permission denied while trying to connect to the Docker daemon socket at unix:///va

環境:ubuntu16.04執行命令:docker run -it centos報錯:Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/do

centos下執行yumError: Cannot retrieve metalink for repository: epel. Please verify its path

Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again 當我們安裝第三方擴充套件源後,yum的時候就會出現:Error: Cannot retrieve metalink for

docker端口映射或啟動容器時報Error response from daemon: driver failed programming external connectivity on endpoint quirky_allen

prot 服務 sina des ram pla sys from localhost 現象: [[email protected] ~]# docker run -d -p 9000:80 centos:httpd /bin/sh -c /usr/local/

sh_gamit執行Error reading ATMOSMAP values from u-file

STATUS :181009:1150:29.0 MODEL/model: Site BJFS Normal stop in MODEL after 2880 epochs STATUS :181009:1150:29.0 MODEL/read_batch:

docker啟動Error starting daemon: SELinux is not supported with the overlay2 graph driver on this ke

環境:centos7命令:systemctl start docker          systemctl status docker -l報錯:Error starting daemon: SELinux is not supported with the overlay

kettle-linux中執行hive的ktrError connecting to database: using class org.apache.hive.jdbc.HiveDriver

1.將windows環境中產生的ktr檔案上傳到linux環境中執行 [[email protected] data-integration]# ./pan.sh -file=/opt/cm/hadoop/pdi-ce-7.1.0.0-12/data-integr

react-native執行樣例Error watching file for changes: EMFILE

Error watching file for changes: EMFILE {"code":"EMFILE","errno":"EMFILE","syscall":"Error watching file for changes:","filename":null} E

TestNG執行Error: A JNI error has occurred

第一次執行testNG,發現報錯:Error: A JNI error has occurred . Please check your installation and try again. 追根究底,就是jar包不完整的原因。匯入jcommander-1.48.jar

kubernetes安裝Error: docker-ce-cli conflicts with

作用 docke yum erro 完美 ble 安裝報錯 file x86 Centos7.6上yum安裝kubernetes報錯:Error: docker-ce-cli conflicts with 2:docker-1.13.1-91.git07f3374.el7.

排查sqoopError running child : java.lang.OutOfMemoryError: Java heap space

date 行數 content sin mapper native reader exti 占用 報錯棧: 2017-06-16 19:50:51,002 INFO [main] org.apache.hadoop.mapred.MapTask: Processing

git推送到githuberror: The requested URL returned error: 403 Forbidden while accessing https://github.com

rep 發的 rac adc lob hub sta stat forward 最近使用git命令從github克隆倉庫到版本,然後進行提交到github時報錯如下: [[email protected]/* */ git_test]# git push ori

dockerError response from daemon: client is newer than server (client API version: 1.24, server API version: 1.19)

amd64 client export mit als 大堆 server rim rime docker version Client: Version: 17.05.0-ce API version: 1.24 (downgraded from 1.29)

遠程登陸mysqlERROR 1130 (HY000): Host '10.0.0.8' is not allowed to connect to this MySQL server

image code 再次 light 解決辦法 allow this 解決 ror 問題原因:在數據庫遷移到mysql主機後遠程登陸mysql報錯: ERROR 1130 (HY000): Host ‘10.0.0.8‘ is not allowed to connec

【PHP】 解決Error: php71w-common conflicts with php-common-5.4.16-43.el7_4.x86_64

with gpo pos erro conf 問題 error col 擴展 背景: 手動安裝的PHP7 環境 問題:在安裝擴展的時候。無論輸入 php-* 來安裝任何擴展。都會報錯 Error: php71w-common conflicts with php-c