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 can help you troubleshoot the bundling issue with your insecure registry. The problem appears to be related to the Docker-in-Docker (DIND) container configuration for accessing your insecure registry(1).
Network Connectivity Issue
Since you’re using WSL with an insecure registry, the DIND container needs proper network access and registry configuration. The --dind-param parameter you’re using is correct, but there might be a syntax issue(1).
Correct Bundle Command Syntax
For insecure registries, use this exact format(1):
$ torizoncore-builder bundle docker-compose.yml --platform linux/arm/v7 --dind-param="--insecure-registry=192.168.6.6:5002"
Notice the double dashes (--) before insecure-registry in the parameter(1).
Alternative Approaches
1. Using Login Credentials
If your registry requires authentication, combine the insecure registry parameter with login credentials(1):
$ torizoncore-builder bundle docker-compose.yml --platform linux/arm/v7 --dind-param="--insecure-registry=192.168.6.6:5002" --login-to 192.168.6.6:5002 username password
2. Network Troubleshooting
For WSL environments, try using the WSL host IP or Windows host IP that the DIND container can reach. You can find your WSL IP with:
ip addr show eth0
Complete Build Process
Once bundling works, integrate it into your build configuration(2)(3):
tcbuild.yaml
input:
easy-installer:
local: images/torizon-core-docker-your-module-Tezi_7.3.0+build.18.tar
output:
easy-installer:
local: torizon-core-docker-your-module-CUSTOM-WITH-CONTAINERS
bundle:
compose-file: docker-compose.yml
Then run:
$ torizoncore-builder build
This approach downloads container images during build time and creates a production-ready Easy Installer image(2)(3).
Environment Variable Forwarding
You can also pass environment variables to the DIND container using --dind-env(1):
$ torizoncore-builder bundle docker-compose.yml --dind-env REGISTRY_URL='192.168.6.6:5002'
Try the corrected syntax first, and if issues persist, please share your docker-compose.yml content and any specific error messages you’re seeing.
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.