This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMDXIDK5718: Install Podman on SDK image

Part Number: TMDXIDK5718

Hi,

I would like to install podman on my sdk image, is this possible? If so, how is it possible to do it?

  • Hi Jafet,

    This can be done through building a custom Yocto image. A forewarning however, since podman and docker are not supported for the AM57, I can't offer extensive support if podman requires debugging.

    To build and install podman onto your SDK image, you'll have to create a custom image recipe that includes the podman-compose recipe. Thankfully, podman already comes built into the meta-virtualization layer so you won't have to install anything from source to get this to work.

    These two links should be helpful:

    1. Customizing a Yocto-Based Linux Distribution for Production: Introduction
    2. Customizing a Yocto-Based Linux Distribution for Production: Adding and Subtracting Packages

    To test whether podman will work without going through the process of creating a custom image, you can build and install the package by itself.

    Build the package by running:

    TOOLCHAIN_BASE=<path-to-toolchain> MACHINE=am57xx-evm bitbake -k podman-compose

    Then install the generated .ipk file:

    # find the .ipk file
    $ find -name *podman-compose*.ipk
    # transfer the file to the target with scp, sftp, etc.
    # install the package (run this on target)
    $ opkg -V2 install <ipk-file-name>

    Best,
    Jared