Getting an error seen in the verbose while bundling build, but it says success

So, I got an update for torizoncore-builder due to my script being outdated. After that, checking my build with --verbose, I saw the familiar “got an http;// answer to a https:// request” although this was after the download from the registry of my container. Here is the snippet of --verbose output.

“DinD> time=“2026-08-13T23:02:04.268216113Z” level=info msg=“Loading containers: done.”
DinD> time=“2026-08-13T23:02:04.290294531Z” level=info msg=“Docker daemon” commit=f417435 containerd-snapshotter=false storage-driver=overlay2 version=25.0.3
DinD> time=“2026-08-13T23:02:04.291271832Z” level=info msg=“Daemon has completed initialization”
DinD> time=“2026-08-13T23:02:04.490130727Z” level=info msg=“API listen on /var/run/docker.sock”
DinD> time=“2026-08-13T23:02:04.490157530Z” level=info msg=“API listen on [::]:2376”
DinD> time=“2026-08-13T23:02:04.490193816Z” level=info msg=“API listen on [::]:37799”
DinD> time=“2026-08-13T23:02:04.526057760Z” level=warning msg=“Error getting v2 registry: Get "https://172.26.58.184:5000/v2/\”: http: server gave HTTP response to HTTPS client”
DinD> time=“2026-08-13T23:02:04.526088185Z” level=info msg=“Attempting next endpoint for pull after error: Get "https://172.26.58.184:5000/v2/\”: http: server gave HTTP response to HTTPS client"
DinD>
2026-08-13 23:02:14,473 - urllib3.connectionpool - DEBUG - http://localhost:None “POST /v1.55/containers/0d27c528b3ed0f315bea7787451e482a8d9bfa06bd7aad2b5a1cf98849b29fa2/stop HTTP/1.1” 204 0
2026-08-13 23:02:14,486 - urllib3.connectionpool - DEBUG - http://localhost:None “DELETE /v1.55/containers/0d27c528b3ed0f315bea7787451e482a8d9bfa06bd7aad2b5a1cf98849b29fa2?v=False&link=False&force=False HTTP/1.1” 204 0
2026-08-13 23:02:15,606 - urllib3.connectionpool - DEBUG - http://localhost:None “DELETE /v1.55/volumes/dind-volume-20260813230200_900372 HTTP/1.1” 204 0
2026-08-13 23:02:15,607 - torizon.tcbuilder.backend.combine - INFO - Updating Torizon OS image in place.
2026-08-13 23:02:15,607 - torizon.tcbuilder.backend.combine - INFO - Combining Torizon OS image with Docker Container bundle.
2026-08-13 23:02:15,628 - torizon.tezi.image - DEBUG - No ‘filelist’ present in image configuration."

I am pretty sure I didn’t see this before and of course it says it was successful, but I am just checking to see if there is a problem.
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.


The warning you’re seeing is expected behavior when working with an insecure private registry. The error message indicates that the Docker-in-Docker (DinD) container initially attempts to connect to your registry at 172.26.58.184:5000 using HTTPS, but your registry is responding with HTTP(1).

Why This Happens

TorizonCore Builder uses a Docker-in-Docker container instance to fetch container images during the bundle process(1). By default, Docker attempts secure (HTTPS) connections to registries. When your registry only supports HTTP, you see this warning, but the tool proceeds to retry with HTTP and successfully completes the operation.

How to Resolve the Warning

To eliminate this warning, you need to inform the DinD container that your registry should be accessed insecurely using the --dind-param parameter(1).

For your registry at 172.26.58.184:5000, use:

$ torizoncore-builder bundle --dind-param="--insecure-registry=172.26.58.184:5000" docker-compose.yml

(1)

If you’re using the build command with a configuration file, you can specify this in your tcbuild.yaml:

output:
  easy-installer:
    local: <your-output-directory>
    bundle:
      compose-file: docker-compose.yml
      dind-params:
        - "--insecure-registry=172.26.58.184:5000"

(2)

Summary

The warning doesn’t prevent successful completion, but adding the --dind-param parameter will eliminate it by properly configuring the DinD container to expect HTTP responses from your registry(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.

@ToradexAI
I am already doing that. That is why I was surprised this was happening. And again, this is after it had already pulled the image from the registry. I am not quite sure what it is doing at this point.

Thank you for clarifying that you're already using the --dind-param parameter. The warning appearing after the image has been successfully pulled is indeed unusual behavior.

Understanding the Timing

Based on the verbose output you provided, the sequence shows:

  1. The Docker daemon in the DinD container completes initialization
  2. The container images are successfully pulled from your registry
  3. Then the warning about "HTTP response to HTTPS client" appears
  4. The DinD container is stopped and removed
  5. The process continues with "Combining Torizon OS image with Docker Container bundle"

This timing suggests the warning might be occurring during a registry verification or metadata check that happens after the actual image pull, rather than during the pull itself[(1)](https://developer.toradex.com/torizon/os-customization/use-cases/pre-provisioning-docker-containers-onto-a-torizoncore-image).

Questions to Help Diagnose

To better understand what's happening, could you clarify:

  1. Which version of TorizonCore Builder are you using? (You mentioned you just updated it)
  2. How are you passing the --dind-param? Are you using:
    • The bundle command directly with --dind-param="--insecure-registry=172.26.58.184:5000"?
    • Or the build command with a tcbuild.yaml configuration file?
  3. Is this warning new after the update? Did the previous version complete without this warning?

Potential Workaround

Since the build completes successfully despite the warning, this appears to be a cosmetic issue rather than a functional problem. However, if you'd like to share your exact command or configuration file (with sensitive information redacted), I can help verify that the --dind-param is being applied correctly[(2)](https://developer.toradex.com/torizon/os-customization/torizoncore-builder-tool-commands-manual).

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
Yes, I am using the build command and that section looks just like the one you have above.
I have not seen that error before, but it could be I missed it, although I don’t think so. However, it is possible.

Steve

Thank you for confirming you’re using the build command with the configuration matching the example. Since the build completes successfully and you have the dind-params configured correctly, this appears to be a minor issue that doesn’t affect functionality.

Analysis

The warning occurs after the images are successfully pulled, which suggests it might be related to:

  1. A post-pull registry check that the DinD container performs
  2. A change in behavior in the newer version of TorizonCore Builder you just updated to
  3. Docker daemon cleanup operations that attempt to verify the registry one more time

Since your configuration already includes the insecure registry parameter in the tcbuild.yaml file like this(1):

output:
  easy-installer:
    bundle:
      dind-params:
        - "--insecure-registry=172.26.58.184:5000"

The parameter is being passed correctly to the Docker-in-Docker container(2).

Recommendation

Given that:

  • The build completes successfully
  • The containers are pulled correctly
  • Your configuration is correct
  • This may be new behavior after the update

This warning can likely be safely ignored as it appears to be a cosmetic issue occurring during cleanup or post-processing, not during the actual image fetch operation.

If you want to investigate further, you could check which version of TorizonCore Builder you’re now using by running:

$ torizoncore-builder --version

This would help determine if there were any known changes in recent versions that might explain the warning.

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.

Hey @EvetsMostel1 ,

All set here?

Best,

@michael.tx
Hi Michael,
Yep, output was tested multiple times so, everything is good. Just something to look at/into on your end.
Thanks,
Steve