Having issues with combine

I finally got my bundle directory done, and now at my last step, combine. It says in the documentation that it can do a combine using the build command, as long as it knows the directory of the bundle command. But I can’t get that to work, as it won’t parse that correctly.
So, I am back to the single command method.
I am starting with an output directory that has all my changes in it except the docker image and the /var/sota/storage/docker-compose/ directory. Do I need to put that in the Changes folder?
The combine says it is successful, but there is no docker images in the repository once installed. I am using:
torizoncore-builder combine --bundle-directory bundle --image-accept-licence --image-autoinstall --image-name myname [directory that has my changes] [ final output directory name]
There are no errors when I run this, and it says it’s successful and a new directory is made. But when I use easyinstaller to install it, there is no docker images and no /var/sota/storage/docker-compose/ directory.
It comes up just fine, and the network changes and some other changes that are supposed to be there, are there.
What am I doing wrong?
Steve

Hi, I’m the Toradex AI Assistant.

I might make mistakes or occasionally get you wrong. Our support team will step in if needed.


I’d be glad to help you troubleshoot the combine command issue. Let me clarify a few important points about the workflow:

Understanding the combine Command

The combine command is specifically designed to take a Toradex Easy Installer image (not a directory with changes) and combine it with a container bundle(1). The correct usage is:

$ torizoncore-builder combine --image-directory torizon-core-docker-colibri-imx6-Tezi_5.3.0.CUSTOM --bundle-directory bundle --output-directory torizon-core-docker-colibri-imx6-Tezi_5.3.0.CUSTOM-WITH-CONTAINERS

(1)

The --image-directory argument should point to a source Toradex Easy Installer image (a directory containing image.json, wrapup.sh, etc.), not a changes directory(2).

Your Workflow Issue

Based on your description, it seems you’re trying to use a “directory that has my changes” as the input to combine. This won’t work correctly. Here’s what you need to do:

Option 1: Use the build Command (Recommended)

If you want to apply all customizations including the container bundle in one step, use the build command with a configuration file(2):

tcbuild.yaml:

input:
  easy-installer:
    local: images/torizon-core-docker-colibri-imx6-Tezi_5.3.0+build.7.tar
output:
  easy-installer:
    local: torizon-core-docker-colibri-imx6-Tezi_5.3.0.CUSTOM
  bundle:
    dir: bundle/

(2)

Then run:

$ torizoncore-builder build

(2)

Option 2: Multi-Step Approach

If you need to use standalone commands:

  1. Unpack the base image
  2. Apply your changes with isolate, splash, dt, etc.
  3. Create a commit with union
  4. Generate an Easy Installer image with deploy (this creates an image WITHOUT containers)
  5. Then use combine to add the container bundle to that Easy Installer image(2)

Key Point

The combine command requires a complete Toradex Easy Installer image directory as input (with image.json, filesystem archives, etc.), not just a changes directory(1)(2).

Could you clarify which Torizon OS version you’re working with? This will help me provide more specific guidance. You can get this information by running tdx-info on your device or checking your base image filename. See: Getting Device Information with Tdx-Info | Toradex Developer Center

Best regards,
Toradex AI Assistant.


Did you like my answer? :+1: :-1:

If I answered your question, please tick the “Solution” checkbox.

For follow-up questions to me, please use @ToradexAI in your post.

Software summary

Bootloader: U-Boot
Kernel version: 6.6.94-7.3.0-g5a62539de8f9 #1-Torizon SMP PREEMPT Wed Jun 25 09:14:55 UTC 2025
Kernel command line: root=LABEL=otaroot rootfstype=ext4 quiet logo.nologo vt.global_cursor_default=0 plymouth.ignore-serial-consoles splash fbcon=map:3 ostree=/ostree/boot.1/torizon/5c84b03643fe3e8b7be49b13c2171a7f45d0dce855097b9fafed3f75e9260a47/0
Distro name: NAME=“Torizon OS”
Distro version: VERSION_ID=7.3.0-build.18
Distro variant: VARIANT=“Docker”
Hostname: verdin-imx8mp-15697385

Hardware info

HW model: Toradex Verdin iMX8M Plus WB on Verdin Development Board
Toradex version: 0058 V1.1B
Serial number: 15697385
Processor arch: aarch64

So, my current method I have been using is running a build after running the unpack command, is to run the build with the changes directory and added overlay file leaving the bundle command out of the tcbuild.yaml file. It outputs an easy-installer directory that I use and manually add the docker image and manually add the docker-compose.yml file to the /var/sota/storage/docker-compose/ directory. This works fine. Now I that I have a final image, I have been trying to get the bundle command to work, which I finally did.
So now, I have a “bundle” directory and if I add bundle:, compose-file: dind-params: commands it does all the steps and redoes the bundle again, but creates a new bundle.tmpxxxxx folder, but no combine.(verified by installing and docker images show nothing). If I add the dir: bundle/ subcommand under the bundle: line, (my original bundle directory is still there. it complains that the script is invalid. If I take the dir: bundle/ out, it’s fine but makes another bundle.tmpxxxx file and no combine.

When I do the combine command alone, I am using the directory created by the build directory that is an easy-installer directory and then the last name in the command is the final directory that should have the docker image in it, but does not.

Steve

Thank you for providing the detailed system information and clarifying your workflow! You’re working with Torizon OS 7.3.0-build.18 on a Verdin iMX8M Plus WB.

Now I understand the issue better. Let me clarify the correct approach for using the bundle section in your tcbuild.yaml file.

Using Pre-Bundled Container Images in build Command

When you already have a pre-bundled container directory (created by running torizoncore-builder bundle separately), you should reference it in your configuration file using the dir parameter under output.bundle(1).

Correct Configuration Syntax

Here’s the proper way to structure your tcbuild.yaml when you have a pre-existing bundle directory:

input:
  easy-installer:
    local: images/torizon-core-docker-colibri-imx6-Tezi_5.3.0+build.7.tar

customization:
  # Your customizations here (splash, device-tree, filesystem changes, etc.)

output:
  bundle:
    dir: bundle/
  easy-installer:
    local: torizon-core-docker-colibri-imx6-Tezi_5.3.0.CUSTOM

(1)

The key point is: use dir: to point to your existing bundle directory, NOT compose-file:(1).

Why Your Current Approach Isn’t Working

When you specify compose-file: in the configuration, TorizonCore Builder attempts to create a new bundle from that Docker Compose file, which is why you’re seeing the bundle.tmpxxxx directories(1). This re-bundles the containers instead of using your existing bundle.

Two Approaches to Choose From

Approach 1: Pre-Bundled Directory (Your Case)

Since you’ve already created your bundle directory, use:

output:
  bundle:
    dir: bundle/
  easy-installer:
    local: my-custom-image-with-containers

(1)

Then run:

$ torizoncore-builder build

(1)

Approach 2: Bundle from Docker Compose File

If you wanted TorizonCore Builder to create the bundle during the build process, you would use:

output:
  bundle:
    compose-file: docker-compose.yml
  easy-installer:
    local: my-custom-image-with-containers

(1)

About the Standalone combine Command

The standalone combine command workflow requires:

  1. A complete Toradex Easy Installer image (with image.json, wrapup.sh, etc.) as the --image-directory
  2. Your bundle directory as --bundle-directory
  3. An output directory name as --output-directory

The correct syntax is:

$ torizoncore-builder combine --bundle-directory bundle --image-directory torizon-core-docker-colibri-imx6-Tezi_5.3.0.CUSTOM --output-directory torizon-core-docker-colibri-imx6-Tezi_5.3.0.CUSTOM-WITH-CONTAINERS

(2)

Note the --image-directory parameter comes before the output directory(2).

Recommendation

Based on your workflow, I recommend using Approach 1 with the build command and the dir: bundle/ parameter. This should properly combine your existing bundle with your customized image in one step.

Try updating your tcbuild.yaml to use dir: bundle/ instead of compose-file: and run the build command again.

Best regards,
Toradex AI Assistant.


Did you like my answer? :+1: :-1:

If I answered your question, please tick the “Solution” checkbox.

For follow-up questions to me, please use @ToradexAI in your post.

@ToradexAI
In the build commands information under bundle it has the bundle required AFTER the easy-installer: section. So I have as follows:
input:

Input section items (required).

easy-installer:
local: images/torizon-docker-verdin-imx8mp-Tezi_7.3.0+build.18.tar

filesystem:
- changes/
output:
easy-installer:
local: images/torizon-docker-verdin-imx8mp-Tezi_7.3.0+build.18.DZYNE-ASP-S-1.04-PRODUCTION
accept-licence: true
autoinstall: true
autoreboot: true
bundle:
dir: bundle

It says it’s successful, but I get this message in the --verbose output:
026-07-17 17:53:20,724 - torizon.tcbuilder.backend.combine - INFO - Updating Torizon OS image in place.
2026-07-17 17:53:20,724 - torizon.tcbuilder.backend.combine - INFO - Combining Torizon OS image with Docker Container bundle.
2026-07-17 17:53:20,762 - torizon.tezi.image - DEBUG - No ‘filelist’ present in image configuration.
2026-07-17 17:53:20,762 - torizon.tezi.image - DEBUG - Size of /workdir/images/torizon-docker-verdin-imx8mp-Tezi_7.3.0+build.18.DZYNE-ASP-S-1.04-PRODUCTION/docker-compose.yml is 962 bytes.
2026-07-17 17:53:20,762 - torizon.tezi.image - DEBUG - Size of /workdir/images/torizon-docker-verdin-imx8mp-Tezi_7.3.0+build.18.DZYNE-ASP-S-1.04-PRODUCTION/target_name is 18 bytes.
2026-07-17 17:53:22,615 - torizon.tezi.image - DEBUG - Size of /workdir/images/torizon-docker-verdin-imx8mp-Tezi_7.3.0+build.18.DZYNE-ASP-S-1.04-PRODUCTION/docker-storage.tar.xz is 150917120 bytes.
…
torizon.tcbuilder.cli.build - INFO -
=>> Build command successfully executed!
Is that “No ‘filelist’ present in image configuration” part of the problem?
because when I install this new version, there is no docker image present and no docker containter running.

When I compare my original docker-compose.yml to the one that is in the bundle directory, the image is way down at the bottom and some of the other things, like devices and such are rearrainged.
Steve

Thank you for sharing your configuration file. I can see the issue now.

The Problem: Duplicate bundle Sections

You have the bundle section defined twice in your configuration file—once under output.easy-installer (commented out) and once directly under output. According to the documentation, the bundle property should be placed under the output.easy-installer section, not as a separate top-level property under output[(1)](https://developer.toradex.com/torizon/os-customization/torizoncore-builder-tool-commands-manual).

Correct Configuration Structure

Here's how your tcbuild.yaml should be structured[(1)](https://developer.toradex.com/torizon/os-customization/torizoncore-builder-tool-commands-manual):

input:
  easy-installer:
    local: images/torizon-docker-verdin-imx8mp-Tezi_7.3.0+build.18.tar

customization:
  filesystem:
    - changes/

output:
  easy-installer:
    local: images/torizon-docker-verdin-imx8mp-Tezi_7.3.0+build.18.DZYNE-ASP-S-1.04-PRODUCTION
    accept-licence: true
    autoinstall: true
    autoreboot: true
    bundle:
      dir: bundle/

(2)

Notice that bundle: is indented under easy-installer:, not at the same level as easy-installer:[(1)](https://developer.toradex.com/torizon/os-customization/torizoncore-builder-tool-commands-manual)[(2)](https://developer.toradex.com/torizon/os-customization/customization-examples).

About the "No 'filelist' present" Message

The message "No 'filelist' present in image configuration" is a debug message and is typically not the cause of your issue. It simply indicates that the image configuration doesn't use the optional filelist feature.

Why Your Current Configuration Isn't Working

When you place bundle: at the wrong indentation level (as a sibling to easy-installer: instead of a child), TorizonCore Builder may not properly process the bundle during the image generation, which explains why your Docker images aren't present after installation.

Recommendation

Please update your tcbuild.yaml file to match the structure shown above, ensuring that bundle: is properly indented under easy-installer:, then run:

$ torizoncore-builder build --verbose

This should properly combine your bundle with the customized Easy Installer image[(1)](https://developer.toradex.com/torizon/os-customization/torizoncore-builder-tool-commands-manual)[(2)](https://developer.toradex.com/torizon/os-customization/customization-examples).

Best regards,
Toradex AI Assistant.


Did you like my answer? :+1: :-1:

If I answered your question, please tick the “Solution” checkbox.

For follow-up questions to me, please use @ToradexAI in your post.


Did you like my answer? :+1: :-1:

If I answered your question, please tick the “Solution” checkbox.

For follow-up questions to me, please use @ToradexAI in your post.

@ToradexAI
I don’t have duplicate bundle sections. And it IS indented, but somehow the copy paste is doesn’t look that way. I don’t get any issues when I build, and when I try to have both bundle and combine using just the build process, it complains that the .yaml file is incorrect as it doesn’t match any schema.

Steve

Thank you for clarifying. I apologize for the confusion about the indentation—copy-paste can indeed lose formatting.

Understanding the Schema Validation Error

If you’re getting a schema validation error when trying to use the bundle section, this suggests that TorizonCore Builder is not recognizing your YAML structure as valid(1).

Let’s Verify Your Exact Configuration

Based on the documentation, here’s the exact structure that should work for pre-bundled containers(2)(3):

input:
  easy-installer:
    local: images/torizon-docker-verdin-imx8mp-Tezi_7.3.0+build.18.tar

customization:
  filesystem:
    - changes/

output:
  easy-installer:
    local: images/torizon-docker-verdin-imx8mp-Tezi_7.3.0+build.18.DZYNE-ASP-S-1.04-PRODUCTION
    accept-licence: true
    autoinstall: true
    autoreboot: true
    bundle:
      dir: bundle/

(2)(3)

Key Points from the Documentation

  1. The bundle property has two possible forms under output.easy-installer(1):

    • First form: Uses compose-file to specify a Docker Compose file (TorizonCore Builder will fetch and bundle the containers)
    • Second form: Uses dir to specify a pre-existing bundle directory(1)
  2. When using the dir parameter, it should point to “a directory containing the container images bundle to be combined with the installer image”(1)

Troubleshooting Steps

Since you mentioned the build completes successfully but the Docker images aren’t present after installation, let’s verify:

  1. Check your bundle directory structure: After running torizoncore-builder bundle, your bundle directory should contain:

    • A modified docker-compose.yml file
    • Container image tarballs
    • A docker-storage.tar.xz file(2)
  2. Verify the path: Ensure bundle/ (or bundle) correctly points to your bundle directory relative to your working directory

  3. Check TorizonCore Builder version: Run torizoncore-builder --version to confirm you’re using version 3.0.0 or later, as the schema may differ in older versions

Alternative: Use the Standalone combine Command

If the build command continues to have issues, you can use the two-step approach(2):

  1. First, run build without the bundle section to create your customized Easy Installer image
  2. Then run the standalone combine command:
$ torizoncore-builder combine --bundle-directory bundle/ --image-directory images/torizon-docker-verdin-imx8mp-Tezi_7.3.0+build.18.DZYNE-ASP-S-1.04-PRODUCTION --output-directory images/final-image-with-containers

(2)

Could you share the exact error message you’re seeing when the schema validation fails? This will help pinpoint the specific issue with your configuration.

Best regards,
Toradex AI Assistant.


Did you like my answer? :+1: :-1:

If I answered your question, please tick the “Solution” checkbox.

For follow-up questions to me, please use @ToradexAI in your post.

@ToradexAI
The exact message. {‘easy-installer’: {‘local’: ‘images/torizon-docker-verdin-imx8mp-Tezi_7.3.0+build.18.DZYNE-ASP-S-1.04-PRODUCTION’, ‘accept-licence’: True, ‘autoinstall’: True, ‘autoreboot’: True, ‘bundle’: {‘compose-file’: ‘docker-compose.yml’, ‘dind-params’: ‘–insecure-registry=172.26.58.184:5000’}}} is not valid under any of the given schemas, while parsing /output

bundle:
compose-file: docker-compose.yml
dind-params:
“–insecure-registry=172.26.58.184:5000”

Steve

Thank you for sharing the exact error message. I can now see the issue clearly.

The Problem: Incorrect Parameter Format

The error indicates that dind-params is not being recognized as valid in your configuration. According to the documentation, dind-params should be an array of strings, not a single string(1).

Correct Configuration

Here’s how your configuration should be structured when using compose-file with dind-params(1):

output:
  easy-installer:
    local: images/torizon-docker-verdin-imx8mp-Tezi_7.3.0+build.18.DZYNE-ASP-S-1.04-PRODUCTION
    accept-licence: true
    autoinstall: true
    autoreboot: true
    bundle:
      compose-file: docker-compose.yml
      dind-params:
        - "--insecure-registry=172.26.58.184:5000"

Notice that dind-params is formatted as an array (with the - prefix), not as a single string(1).

Why This Matters

The dind-params property expects a “list of parameters to pass to the Docker-in-Docker container”(1). In YAML, lists are denoted with the - prefix for each item. Your current configuration uses a string instead of an array, which causes the schema validation to fail.

Additional Considerations

Since you mentioned you already have a pre-bundled directory, you might want to reconsider your approach. If you use compose-file, TorizonCore Builder will re-bundle the containers every time you run the build command, which takes additional time(2).

Recommendation: Use the dir parameter instead to reference your existing bundle:

output:
  easy-installer:
    local: images/torizon-docker-verdin-imx8mp-Tezi_7.3.0+build.18.DZYNE-ASP-S-1.04-PRODUCTION
    accept-licence: true
    autoinstall: true
    autoreboot: true
    bundle:
      dir: bundle/

This approach uses your pre-existing bundle directory and avoids re-downloading containers(2).

If You Need Insecure Registry Support

If you need to access an insecure registry and want to use the compose-file approach, the corrected configuration would be:

output:
  easy-installer:
    local: images/torizon-docker-verdin-imx8mp-Tezi_7.3.0+build.18.DZYNE-ASP-S-1.04-PRODUCTION
    accept-licence: true
    autoinstall: true
    autoreboot: true
    bundle:
      compose-file: docker-compose.yml
      dind-params:
        - "--insecure-registry=172.26.58.184:5000"

However, since you already created your bundle with the bundle command (which already handled the insecure registry), you should use dir: bundle/ instead(2).

Best regards,
Toradex AI Assistant.


Did you like my answer? :+1: :-1:

If I answered your question, please tick the “Solution” checkbox.

For follow-up questions to me, please use @ToradexAI in your post.


Did you like my answer? :+1: :-1:

If I answered your question, please tick the “Solution” checkbox.

For follow-up questions to me, please use @ToradexAI in your post.

@ToradexAI
Yes, I did that and created a build. Like I said, the main problem is that when I install it, there is no docker image in the repository of the device. It’s like it didn’t combine it or the bundle command did not work correctly, even though I see it pull the image down and it obviously is a tar.gz format, but it’s not in the install.

Doesn’t matter whether I do the full process via build, or I use my “bundle” directory with the build, the output when installed has no docker image in its repository.

This is the problem I am trying to solve.

Steve

Thank you for clarifying. The issue is that the Docker images aren’t appearing in the device repository after installation, even though the build process completes successfully. Let’s troubleshoot this systematically.

Verification Steps

1. Verify Bundle Directory Contents

After running torizoncore-builder bundle, your bundle directory should contain(1):

  • A modified docker-compose.yml file
  • Container image tarballs
  • A docker-storage.tar.xz file

Can you verify these files exist in your bundle/ directory?

2. Check the Output Image Structure

After the build completes, check your output Easy Installer directory. It should contain(1):

  • docker-storage.tar.xz - This contains the Docker images
  • docker-compose.yml - The modified compose file
  • Standard Easy Installer files (image.json, wrapup.sh, etc.)

3. Verify Platform Architecture

When you created your bundle, did you specify the correct platform? For your Verdin iMX8M Plus (which is ARM64), you need to specify the platform when bundling(1):

$ torizoncore-builder bundle --platform=linux/arm64 docker-compose.yml --bundle-directory bundle

If you didn’t specify --platform=linux/arm64, the bundle command may have failed to pull the correct architecture images(1).

4. Check for Multi-Platform Images

If you’re using multi-platform container images, the bundle command will likely fail without the --platform switch(1). The documentation specifically states: “In case you are referencing multi-platform container images, the above command will likely fail because no platform was specified”(1).

Recommended Troubleshooting Process

Step 1: Re-create your bundle with the correct platform:

$ torizoncore-builder bundle --platform=linux/arm64 docker-compose.yml --bundle-directory bundle --dind-params "--insecure-registry=172.26.58.184:5000"

Step 2: Verify the bundle was created successfully by checking that bundle/docker-storage.tar.xz exists and has a reasonable size (should be substantial if it contains your images).

Step 3: Use the build command with your corrected configuration:

output:
  easy-installer:
    local: images/torizon-docker-verdin-imx8mp-Tezi_7.3.0+build.18.DZYNE-ASP-S-1.04-PRODUCTION
    accept-licence: true
    autoinstall: true
    autoreboot: true
    bundle:
      dir: bundle/

Step 4: After the build completes, verify that the output directory contains docker-storage.tar.xz before flashing.

Alternative: Check What’s Actually Being Installed

After installing the image on your device, check:

  1. Does /var/sota/storage/docker-compose/ exist?
  2. Does /var/lib/docker/ contain any images?
  3. Run docker images to see what’s in the repository

If the directory structure exists but images are missing, this suggests the bundle wasn’t properly integrated.

Additional Diagnostic

Can you share:

  1. The size of your bundle/docker-storage.tar.xz file
  2. The size of the docker-storage.tar.xz in your final output Easy Installer directory
  3. Whether you specified --platform=linux/arm64 when creating the bundle

This will help identify whether the issue is in the bundling stage or the combining stage(1).

Best regards,
Toradex AI Assistant.


Did you like my answer? :+1: :-1:

If I answered your question, please tick the “Solution” checkbox.

For follow-up questions to me, please use @ToradexAI in your post.


Did you like my answer? :+1: :-1:

If I answered your question, please tick the “Solution” checkbox.

For follow-up questions to me, please use @ToradexAI in your post.

torizoncore-builder was updated and now it is working.