# Docker run error while running an image

**URL:** <https://forums.docker.com/t/docker-run-error-while-running-an-image/134657>\
**Category:** Docker Desktop\
**Tags:** linux\
**Created:** [February 16, 2023, 10:52pm UTC](https://forums.docker.com/t/docker-run-error-while-running-an-image/134657 "2023-02-16T22:52:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![simonkbaby](https://avatars.discourse-cdn.com/v4/letter/s/71c47a/32.png) [@simonkbaby](https://forums.docker.com/u/simonkbaby)\
**Post date:** [February 16, 2023, 10:52pm UTC](https://forums.docker.com/t/docker-run-error-while-running-an-image/134657/1 "2023-02-16T22:52:33Z")

</div>

Hello Team,  
I am getting below error while running an OCI image created in linux via yocto build env. Can yoou please help to resolve this error.

**docker** \*\*: Error response from daemon: 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.\*\*

ERRO[0000] error waiting for container: context canceled

Regards  
Simon

---

<div class="post-metadata">

**Author:** ![simonkbaby](https://avatars.discourse-cdn.com/v4/letter/s/71c47a/32.png) [@simonkbaby](https://forums.docker.com/u/simonkbaby)\
**Post date:** [February 16, 2023, 10:54pm UTC](https://forums.docker.com/t/docker-run-error-while-running-an-image/134657/2 "2023-02-16T22:54:52Z")

</div>

here is the fill logs and description.

I was able to build the container image in .tar.bz2 format and was able to download into the target as part of the root file system. When I tried to run the image on the target, I am getting the below error. I used docker import command to get the image from the .tar.bz2 file. Below is the error. Is this something related with permission issue?

[790.575751] docker0: port 1(veth092c057) entered blocking state

[790.575813] docker0: port 1(veth092c057) entered disabled state

[790.576071] device veth092c057 entered promiscuous mode

[790.576258] audit: type=1700 audit(1676334388.308:51): dev=veth092c057 prom=256 old\_prom=0 auid=4294967295 uid=0 gid=0 ses=4294967295

[790.578895] audit: type=1300 audit(1676334388.308:51): arch=c00000b7 syscall=206 success=yes exit=40 a0=e a1=40004cdef0 a2=28 a3=0 items=0 ppid=1 pid=435 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=“dockerd” exe=“/usr/bin/dockerd” key=(null)

[790.579931] audit: type=1327 audit(1676334388.308:51): proctitle=2F7573722F62696E2F646F636B657264002D480066643A2F2F

[790.818439] docker0: port 1(veth092c057) entered disabled state

[790.850282] device veth092c057 left promiscuous mode

[790.850331] docker0: port 1(veth092c057) entered disabled state

[790.850350] audit: type=1700 audit(1676334388.544:52): dev=veth092c057 prom=0 old\_prom=256 auid=4294967295 uid=0 gid=0 ses=4294967295

[790.881294] audit: type=1300 audit(1676334388.544:52): arch=c00000b7 syscall=206 success=yes exit=32 a0=e a1=400014da20 a2=20 a3=0 items=0 ppid=1 pid=435 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=“dockerd” exe=“/usr/bin/dockerd” key=(null)

[790.881312] audit: type=1327 audit(1676334388.544:52): proctitle=2F7573722F62696E2F646F636B657264002D480066643A2F2F

docker\*\*\*\*: Error response from daemon: 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.

ERRO[0000] error waiting for container: context canceled

I also noticed that when I run docker load command, i got the below error. But docker import command was successful.

docker load \< /usr/bin/container-test-imx8mpevk.tar.bz2

open /var/lib/docker/tmp/docker-import-1198093330/etc/json: no such file or directory

Below is my container image recipe. Please let me know if anything is wrong.

DESCRIPTION = “Demo container application”  
HOMEPAGE = “[https://yoctoproject.org](https://yoctoproject.org)”  
LICENSE = “CLOSED”

do\_fetch[deptask] = “do\_image\_complete”  
PACKAGE\_INSTALL += “apptest”

IMAGE\_FSTYPES = “container”  
PREFERRED\_PROVIDER\_virtual/kernel = “linux-dummy”  
IMAGE\_CONTAINER\_NO\_DUMMY = “1”

inherit core-image  
OCI\_IMAGE\_ENTRYPOINT = “/usr/bin/testapp”  
CONTAINER\_SHELL = “busybox”

IMAGE\_ROOTFS\_SIZE = “8192”  
IMAGE\_ROOTS\_EXTRA\_SPACE = “0”

apptest is another install package which is builded drom another recipe.

---

<div class="post-metadata">

**Author:** ![simonkbaby](https://avatars.discourse-cdn.com/v4/letter/s/71c47a/32.png) [@simonkbaby](https://forums.docker.com/u/simonkbaby)\
**Post date:** [February 16, 2023, 11:06pm UTC](https://forums.docker.com/t/docker-run-error-while-running-an-image/134657/3 "2023-02-16T23:06:39Z")

</div>

~$ docker version  
Client: Docker Engine - Community  
Version: 23.0.1  
API version: 1.42  
Go version: go1.19.5  
Git commit: a5ee5b1  
Built: Thu Feb 9 19:46:56 2023  
OS/Arch: linux/amd64  
Context: default

Server: Docker Engine - Community  
Engine:  
Version: 23.0.1  
API version: 1.42 (minimum version 1.12)  
Go version: go1.19.5  
Git commit: bc3805a  
Built: Thu Feb 9 19:46:56 2023  
OS/Arch: linux/amd64  
Experimental: false  
containerd:  
Version: 1.6.16  
GitCommit: 31aa4358a36870b21a992d3ad2bef29e1d693bec  
runc:  
Version: 1.1.4  
GitCommit: v1.1.4-0-g5fd4c4d  
docker-init:  
Version: 0.19.0  
GitCommit: de40ad0
