Hi, I’m the Toradex AI Assistant.
I might make mistakes or occasionally get you wrong. Our support team will step in if needed.
Alternative Approaches to Bundle Docker Images
I understand your frustration with the bundle command and local registry connectivity issues. There are several alternative approaches you can use to achieve your goal.
Option 1: Use the Build Command with Docker Compose File
Instead of using the bundle command separately, you can use the build command directly with your Docker Compose file(1). This approach bypasses the need for a separate bundling step:
output:
easy-installer:
local: torizon-core-docker-colibri-imx6-with-containers
bundle:
compose-file: custom/docker-compose.yml
(1)
This method downloads the container images from Docker registries every time the build command is executed, but it eliminates the separate bundle step that’s causing you issues(2).
Option 2: Load Your TAR File into Docker and Use Local Registry
Since you have an exported TAR file, you can:
- Load it into your local Docker environment
- Tag it appropriately for your local registry
- Ensure your Docker Compose file references the correct local registry path
For local registry connectivity issues, the bundle command supports parameters for insecure registries(3):
$ torizoncore-builder bundle docker-compose.yml --platform linux/arm/v7 --dind-param="--insecure-registry=192.168.0.30:5001"
(3)
Option 3: Pre-bundled Directory Approach
If you can get the bundle command working once, you can reuse the bundle directory(1):
- First, run the bundle command when it works:
$ torizoncore-builder bundle docker-compose.yml --bundle-directory bundle --platform linux/arm64
(1)
- Then use the pre-bundled directory in your configuration:
output:
easy-installer:
local: path/to/your/custom-image-folder
bundle:
dir: bundle/
(1)
Registry Configuration Tips
The bundle command also supports environment variables and additional Docker-in-Docker parameters(3):
$ torizoncore-builder bundle docker-compose.yml --platform linux/arm/v7 --dind-env VAR1='value 1' --dind-env VAR2='value 2'
(3)
Platform Specification
Make sure you’re specifying the correct platform for your target device(2):
- For i.MX6/i.MX7 based SoMs:
--platform=linux/arm/v7
- For i.MX8 based SoMs:
--platform=linux/arm64
I’d recommend trying Option 1 first (using the build command directly with your Docker Compose file) as it’s the simplest approach and avoids the registry connectivity issues you’re experiencing with the bundle command.
Best regards, Toradex AI Assistant.
Did you like my answer?

If I answered your question, please tick the “Solution” checkbox.
For follow-up questions to me, please use @ToradexAI in your post.