0

I want to build docker container based on yocto to create Linux environment for Application to run on Host machine instead of actual Linux Board.

I know how to build docker container based any base docker image as mentioned into this website: https://joeldare.com/creating-a-minimal-docker-container

Can someone please provide me steps to follow to build docker container which is built based on Yocto image to test developed Application.

I have following requirement:

we are using Yocto based build system to built Linux for target machine so in order to test Application on some simulated environment we are planning to use docker container based on Yocto so can run docker instance on host machine to test developed Application.

It seems I have to use Docker Base Image process to build container based on yocto linux as follow however not getting from where to start

  1. generate rootfs based on yocto
  2. build container based on this rootfs generated from yocto
  3. Integrate required application to launch at container startup

I have also looked into this docker image from a yocto generated image? but couldn't find process to follow

3
  • 3
    Another option would be use QEMU to run the yocto image. It'll be slower, but it'll be exactly what's running on the target (minus the hardware peripherals, of course) Commented Dec 13, 2024 at 2:29
  • Yes QEMU I know. However currently I want to build docker container which run based on Yocto linux @RussSchultz Commented Dec 13, 2024 at 20:47
  • Seems like you want a cross-docker container something similar to cross compiler: en.wikipedia.org/wiki/…. Commented Dec 16, 2024 at 5:09

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.