Hello Bruce, Thank you so much.The target I am using is NXP IMX8 (MACHINE=imx8mpevk DISTRO=fsl-imx-wayland) docker pull, docker run from docker hub is working fine. Also if I generate the image with Dockerfile, docker save and then doker run on the target, it works fine. The issue I am getting is when I try with IMAGE_FSTYPES = "container". Below is my bitbake recipe. Please let me know if I am missing anything.
DESCRIPTION = "Demo container application" HOMEPAGE = "https://yoctoproject.org" LICENSE = "CLOSED" do_fetch[deptask] = "do_image_complete" PACKAGE_INSTALL += "apptest" IMAGE_FSTYPES = "container oci" inherit image inherit image-oci CONTAINER_SHELL ?= "${@bb.utils.contains('PACKAGE_EXTRA_ARCHS', 'container-dummy-provides', 'container-dummy-provides', 'busybox', d)}" IMAGE_CONTAINER_NO_DUMMY = "1" inherit core-image OCI_IMAGE_ENTRYPOINT = "/usr/bin/testapp" IMAGE_ROOTFS_SIZE = "8192" IMAGE_ROOTS_EXTRA_SPACE = "0" Regards Simon On Fri, Feb 17, 2023 at 6:14 AM Bruce Ashfield <[email protected]> wrote: > I'd suggest trying something we know is better tested before trying to > load and run the OCI images directly. > > That error message normally means something is missing in your target > image, a kernel configuration, or a support utility that docker > requires. > > What is your MACHINE configuration ? I assume you are using master ? > or is this an older release ? > > Can you try a simpler docker pull, docker run, test to confirm that > official registry images work ? > > Bruce > > On Wed, Feb 15, 2023 at 1:08 PM SIMON BABY <[email protected]> wrote: > > > > On Mon, Feb 13, 2023 at 04:51 PM, SIMON BABY wrote: > > > > 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 > > > > Hello team, > > May i know the reason for the below error while trying to run the oci > image from docker command. > > > > 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 > > > > > > > > > > > -- > - Thou shalt not follow the NULL pointer, for chaos and madness await > thee at its end > - "Use the force Harry" - Gandalf, Star Trek II >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#7876): https://lists.yoctoproject.org/g/meta-virtualization/message/7876 Mute This Topic: https://lists.yoctoproject.org/mt/96860300/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
