You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CentOS Linux release 7.9.2009 (Core) docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: can't get final child's PID from pipe: EOF: unknown
#1492
Open
mrxlhm opened this issue
Mar 12, 2024
· 0 comments
docker run hello-world
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: can't get final child's PID from pipe: EOF: unknown
log
docker.service
journalctl -fu docker.service
Mar 12 14:31:28 VM-0-4-centos dockerd[25629]: time="2024-03-12T14:31:28.864364787+08:00" level=error msg="stream copy error: reading from a closed fifo"
Mar 12 14:31:28 VM-0-4-centos dockerd[25629]: time="2024-03-12T14:31:28.864416167+08:00" level=error msg="stream copy error: reading from a closed fifo"
Mar 12 14:31:28 VM-0-4-centos dockerd[25629]: time="2024-03-12T14:31:28.905311955+08:00" level=error msg="Handler for POST /v1.44/containers/f84443817d1600bbb96dd4ad46056ebd0a04d6cf44cde5fb9ab7c6800480533d/start returned error: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: can't get final child's PID from pipe: EOF: unknown"
containerd.service
Mar 12 14:32:51 VM-0-4-centos containerd[1900]: time="2024-03-12T14:32:51.062332781+08:00" level=info msg="loading plugin \"io.containerd.event.v1.publisher\"..." runtime=io.containerd.runc.v2 type=io.containerd.event.v1
Mar 12 14:32:51 VM-0-4-centos containerd[1900]: time="2024-03-12T14:32:51.062453929+08:00" level=info msg="loading plugin \"io.containerd.internal.v1.shutdown\"..." runtime=io.containerd.runc.v2 type=io.containerd.internal.v1
Mar 12 14:32:51 VM-0-4-centos containerd[1900]: time="2024-03-12T14:32:51.062479668+08:00" level=info msg="loading plugin \"io.containerd.ttrpc.v1.task\"..." runtime=io.containerd.runc.v2 type=io.containerd.ttrpc.v1
Mar 12 14:32:51 VM-0-4-centos containerd[1900]: time="2024-03-12T14:32:51.062657805+08:00" level=info msg="starting signal loop" namespace=moby path=/run/containerd/io.containerd.runtime.v2.task/moby/22fd6cedcf87252ef2585db60da56d1692f7aa64d4d3f7d77df51f1342931833 pid=5807 runtime=io.containerd.runc.v2
Mar 12 14:32:51 VM-0-4-centos containerd[1900]: time="2024-03-12T14:32:51.082531736+08:00" level=info msg="shim disconnected" id=22fd6cedcf87252ef2585db60da56d1692f7aa64d4d3f7d77df51f1342931833
Mar 12 14:32:51 VM-0-4-centos containerd[1900]: time="2024-03-12T14:32:51.082584785+08:00" level=warning msg="cleaning up after shim disconnected" id=22fd6cedcf87252ef2585db60da56d1692f7aa64d4d3f7d77df51f1342931833 namespace=moby
Mar 12 14:32:51 VM-0-4-centos containerd[1900]: time="2024-03-12T14:32:51.082595325+08:00" level=info msg="cleaning up dead shim"
Mar 12 14:32:51 VM-0-4-centos containerd[1900]: time="2024-03-12T14:32:51.088379390+08:00" level=warning msg="cleanup warnings time=\"2024-03-12T14:32:51+08:00\" level=info msg=\"starting signal loop\" namespace=moby pid=5830 runtime=io.containerd.runc.v2\ntime=\"2024-03-12T14:32:51+08:00\" level=warning msg=\"failed to read init pid file\" error=\"open /run/containerd/io.containerd.runtime.v2.task/moby/22fd6cedcf87252ef2585db60da56d1692f7aa64d4d3f7d77df51f1342931833/init.pid: no such file or directory\" runtime=io.containerd.runc.v2\n"
Mar 12 14:32:51 VM-0-4-centos containerd[1900]: time="2024-03-12T14:32:51.088573206+08:00" level=error msg="copy shim log" error="read /proc/self/fd/12: file already closed"
os log
tail -f /var/log/messages
Mar 12 14:34:39 VM-0-4-centos kernel: docker0: port 1(vethd6bc28b) entered blocking state
Mar 12 14:34:39 VM-0-4-centos kernel: docker0: port 1(vethd6bc28b) entered disabled state
Mar 12 14:34:39 VM-0-4-centos kernel: device vethd6bc28b entered promiscuous mode
Mar 12 14:34:39 VM-0-4-centos kernel: IPv6: ADDRCONF(NETDEV_UP): vethd6bc28b: link is not ready
Mar 12 14:34:39 VM-0-4-centos kernel: docker0: port 1(vethd6bc28b) entered blocking state
Mar 12 14:34:39 VM-0-4-centos kernel: docker0: port 1(vethd6bc28b) entered forwarding state
Mar 12 14:34:39 VM-0-4-centos kernel: docker0: port 1(vethd6bc28b) entered disabled state
Mar 12 14:34:39 VM-0-4-centos containerd: time="2024-03-12T14:34:39.211561646+08:00" level=info msg="loading plugin \"io.containerd.event.v1.publisher\"..." runtime=io.containerd.runc.v2 type=io.containerd.event.v1
Mar 12 14:34:39 VM-0-4-centos containerd: time="2024-03-12T14:34:39.211711242+08:00" level=info msg="loading plugin \"io.containerd.internal.v1.shutdown\"..." runtime=io.containerd.runc.v2 type=io.containerd.internal.v1
Mar 12 14:34:39 VM-0-4-centos containerd: time="2024-03-12T14:34:39.211733432+08:00" level=info msg="loading plugin \"io.containerd.ttrpc.v1.task\"..." runtime=io.containerd.runc.v2 type=io.containerd.ttrpc.v1
Mar 12 14:34:39 VM-0-4-centos containerd: time="2024-03-12T14:34:39.211880469+08:00" level=info msg="starting signal loop" namespace=moby path=/run/containerd/io.containerd.runtime.v2.task/moby/0acc1a759f03aeda353f36a467136c0fb0a0c660655ebca9bc7f8b2969b19e09 pid=5864 runtime=io.containerd.runc.v2
Mar 12 14:34:39 VM-0-4-centos containerd: time="2024-03-12T14:34:39.232562374+08:00" level=info msg="shim disconnected" id=0acc1a759f03aeda353f36a467136c0fb0a0c660655ebca9bc7f8b2969b19e09
Mar 12 14:34:39 VM-0-4-centos containerd: time="2024-03-12T14:34:39.232627552+08:00" level=warning msg="cleaning up after shim disconnected" id=0acc1a759f03aeda353f36a467136c0fb0a0c660655ebca9bc7f8b2969b19e09 namespace=moby
Mar 12 14:34:39 VM-0-4-centos containerd: time="2024-03-12T14:34:39.232638892+08:00" level=info msg="cleaning up dead shim"
Mar 12 14:34:39 VM-0-4-centos containerd: time="2024-03-12T14:34:39.238766721+08:00" level=warning msg="cleanup warnings time=\"2024-03-12T14:34:39+08:00\" level=info msg=\"starting signal loop\" namespace=moby pid=5886 runtime=io.containerd.runc.v2\ntime=\"2024-03-12T14:34:39+08:00\" level=warning msg=\"failed to read init pid file\" error=\"open /run/containerd/io.containerd.runtime.v2.task/moby/0acc1a759f03aeda353f36a467136c0fb0a0c660655ebca9bc7f8b2969b19e09/init.pid: no such file or directory\" runtime=io.containerd.runc.v2\n"
Mar 12 14:34:39 VM-0-4-centos containerd: time="2024-03-12T14:34:39.238954256+08:00" level=error msg="copy shim log" error="read /proc/self/fd/12: file already closed"
Mar 12 14:34:39 VM-0-4-centos dockerd: time="2024-03-12T14:34:39.239456785+08:00" level=error msg="stream copy error: reading from a closed fifo"
Mar 12 14:34:39 VM-0-4-centos dockerd: time="2024-03-12T14:34:39.239533924+08:00" level=error msg="stream copy error: reading from a closed fifo"
Mar 12 14:34:39 VM-0-4-centos kernel: docker0: port 1(vethd6bc28b) entered disabled state
Mar 12 14:34:39 VM-0-4-centos kernel: device vethd6bc28b left promiscuous mode
Mar 12 14:34:39 VM-0-4-centos kernel: docker0: port 1(vethd6bc28b) entered disabled state
Mar 12 14:34:39 VM-0-4-centos dockerd: time="2024-03-12T14:34:39.278416306+08:00" level=error msg="Handler for POST /v1.44/containers/0acc1a759f03aeda353f36a467136c0fb0a0c660655ebca9bc7f8b2969b19e09/start returned error: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: can't get final child's PID from pipe: EOF: unknown"
The text was updated successfully, but these errors were encountered:
env
OS
docker daemon.json
docker info
error
log
docker.service
containerd.service
os log
The text was updated successfully, but these errors were encountered: