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”
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.