2026-02-16 19:58:58,134 - torizon.tcbuilder.backend.bundle - DEBUG - Using DindManager
2026-02-16 19:58:58,134 - docker.utils.config - DEBUG - Trying paths: [‘/root/.docker/config.json’, ‘/root/.dockercfg’]
2026-02-16 19:58:58,134 - docker.utils.config - DEBUG - No config file found
2026-02-16 19:58:58,134 - docker.utils.config - DEBUG - Trying paths: [‘/root/.docker/config.json’, ‘/root/.dockercfg’]
2026-02-16 19:58:58,134 - docker.utils.config - DEBUG - No config file found
2026-02-16 19:58:58,139 - urllib3.connectionpool - DEBUG - http://localhost:None “GET /version HTTP/1.1” 200 853
2026-02-16 19:58:58,144 - urllib3.connectionpool - DEBUG - http://localhost:None “GET /v1.52/info HTTP/1.1” 200 None
2026-02-16 19:58:58,144 - docker.utils.config - DEBUG - Trying paths: [‘/root/.docker/config.json’, ‘/root/.dockercfg’]
2026-02-16 19:58:58,144 - docker.utils.config - DEBUG - No config file found
2026-02-16 19:58:58,144 - docker.utils.config - DEBUG - Trying paths: [‘/root/.docker/config.json’, ‘/root/.dockercfg’]
2026-02-16 19:58:58,144 - docker.utils.config - DEBUG - No config file found
2026-02-16 19:58:58,149 - urllib3.connectionpool - DEBUG - http://localhost:None “GET /version HTTP/1.1” 200 853
2026-02-16 19:58:58,151 - urllib3.connectionpool - DEBUG - http://localhost:None “GET /v1.52/containers/json?limit=-1&all=0&size=0&trunc_cmd=0&filters=%7B%22name%22%3A+%5B%22tcb_1771271937%22%5D%7D HTTP/1.1” 200 1821
2026-02-16 19:58:58,152 - urllib3.connectionpool - DEBUG - http://localhost:None “GET /v1.52/containers/51807cc0023278eb9afa9510039bc98b024fed3116b5fede03036a518c371688/json HTTP/1.1” 200 None
2026-02-16 19:58:58,152 - torizon.tcbuilder.backend.common - DEBUG - Current container ID (found by container name): 51807cc0023278eb9afa9510039bc98b024fed3116b5fede03036a518c371688
2026-02-16 19:58:58,153 - urllib3.connectionpool - DEBUG - http://localhost:None “GET /v1.52/containers/51807cc0023278eb9afa9510039bc98b024fed3116b5fede03036a518c371688/json HTTP/1.1” 200 None
2026-02-16 19:58:58,153 - torizon.tcbuilder.backend.bundle - INFO -
Starting DIND container
2026-02-16 19:58:58,154 - urllib3.connectionpool - DEBUG - http://localhost:None “POST /v1.52/volumes/create HTTP/1.1” 201 182
2026-02-16 19:58:58,154 - torizon.tcbuilder.backend.bundle - DEBUG - Default platform: arm64
2026-02-16 19:58:58,154 - torizon.tcbuilder.backend.bundle - DEBUG - Volume mapping for DinD: [{‘Target’: ‘/workdir/’, ‘Source’: ‘/home/steve/tcbdir3’, ‘Type’: ‘bind’, ‘ReadOnly’: False}, {‘Target’: ‘/var/lib/docker/’, ‘Source’: ‘dind-volume’, ‘Type’: ‘volume’, ‘ReadOnly’: False}]
2026-02-16 19:58:58,154 - torizon.tcbuilder.backend.bundle - DEBUG - Environment variables for DinD: {‘DOCKER_TLS_CERTDIR’: ‘/workdir/certs_20260216195858_134605.tmp’, ‘DOCKER_DEFAULT_PLATFORM’: ‘arm64’}
2026-02-16 19:58:58,154 - torizon.tcbuilder.backend.bundle - DEBUG - Running DinD container: ports={‘22376/tcp’: 22376}, network=bridge
2026-02-16 19:58:58,155 - urllib3.connectionpool - DEBUG - http://localhost:None “POST /v1.52/containers/create?name=tcb-fetch-dind HTTP/1.1” 409 241
2026-02-16 19:58:58,155 - torizon.tcbuilder.backend.bundle - INFO - Stopping DIND container
2026-02-16 19:58:59,217 - urllib3.connectionpool - DEBUG - http://localhost:None “DELETE /v1.52/volumes/dind-volume HTTP/1.1” 409 120
2026-02-16 19:58:59,217 - root - CRITICAL - An unexpected Exception occurred. Please provide the following stack trace to
the Toradex TorizonCore support team:
2026-02-16 19:58:59,219 - root - ERROR - Traceback (most recent call last):
File “/usr/local/lib/python3.9/dist-packages/docker/api/client.py”, line 275, in _raise_for_status
response.raise_for_status()
File “/usr/local/lib/python3.9/dist-packages/requests/models.py”, line 1024, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 409 Client Error: Conflict for url: http+docker://localhost/v1.52/containers/create?name=tcb-fetch-dind
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File “/builder/tcbuilder/backend/bundle.py”, line 659, in download_containers_by_compose_file
manager.start(network, default_platform=platform,
File “/builder/tcbuilder/backend/bundle.py”, line 296, in start
self.dind_container = self.host_client.containers.run(
File “/usr/local/lib/python3.9/dist-packages/docker/models/containers.py”, line 876, in run
container = self.create(image=image, command=command,
File “/usr/local/lib/python3.9/dist-packages/docker/models/containers.py”, line 935, in create
resp = self.client.api.create_container(**create_kwargs)
File “/usr/local/lib/python3.9/dist-packages/docker/api/container.py”, line 440, in create_container
return self.create_container_from_config(config, name, platform)
File “/usr/local/lib/python3.9/dist-packages/docker/api/container.py”, line 457, in create_container_from_config
return self._result(res, True)
File “/usr/local/lib/python3.9/dist-packages/docker/api/client.py”, line 281, in _result
self._raise_for_status(response)
File “/usr/local/lib/python3.9/dist-packages/docker/api/client.py”, line 277, in _raise_for_status
raise create_api_error_from_http_exception(e) from e
File “/usr/local/lib/python3.9/dist-packages/docker/errors.py”, line 39, in create_api_error_from_http_exception
raise cls(e, response=response, explanation=explanation) from e
docker.errors.APIError: 409 Client Error for http+docker://localhost/v1.52/containers/create?name=tcb-fetch-dind: Conflict (“Conflict. The container name “/tcb-fetch-dind” is already in use by container “ea133cd89b35dbe42081bebb3b3bfc91307a87fce89dbf6de830c88e5d75e877”. You have to remove (or rename) that container to be able to reuse that name.”)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File “/builder/tcbuilder/backend/bundle.py”, line 698, in download_containers_by_compose_file
raise OperationFailureError(
tcbuilder.errors.OperationFailureError: Error: container images download failed: 409 Client Error for http+docker://localhost/v1.52/containers/create?name=tcb-fetch-dind: Conflict (“Conflict. The container name “/tcb-fetch-dind” is already in use by container “ea133cd89b35dbe42081bebb3b3bfc91307a87fce89dbf6de830c88e5d75e877”. You have to remove (or rename) that container to be able to reuse that name.”)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/local/lib/python3.9/dist-packages/docker/api/client.py”, line 275, in _raise_for_status
response.raise_for_status()
File “/usr/local/lib/python3.9/dist-packages/requests/models.py”, line 1024, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 409 Client Error: Conflict for url: http+docker://localhost/v1.52/volumes/dind-volume
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File “/builder/torizoncore-builder”, line 232, in
mainargs.func(mainargs)
File “/builder/tcbuilder/cli/bundle.py”, line 132, in do_bundle
bundle(bundle_dir=args.bundle_directory,
File “/builder/tcbuilder/cli/bundle.py”, line 83, in bundle
bundle_be.download_containers_by_compose_file(
File “/builder/tcbuilder/backend/bundle.py”, line 702, in download_containers_by_compose_file
manager.stop()
File “/builder/tcbuilder/backend/bundle.py”, line 361, in stop
self.dind_volume.remove()
File “/usr/local/lib/python3.9/dist-packages/docker/models/volumes.py”, line 25, in remove
return self.client.api.remove_volume(self.id, force=force)
File “/usr/local/lib/python3.9/dist-packages/docker/api/volume.py”, line 163, in remove_volume
self._raise_for_status(resp)
File “/usr/local/lib/python3.9/dist-packages/docker/api/client.py”, line 277, in _raise_for_status
raise create_api_error_from_http_exception(e) from e
File “/usr/local/lib/python3.9/dist-packages/docker/errors.py”, line 39, in create_api_error_from_http_exception
raise cls(e, response=response, explanation=explanation) from e
docker.errors.APIError: 409 Client Error for http+docker://localhost/v1.52/volumes/dind-volume: Conflict ("remove dind-volume: volume is in use - [ea
I keep seeing “conflict” in the debug and I am wondering if there is a left over piece that needs to be deleted or removed after an exception occurs during the build process.
Also, I noticed a new image in docker call docker:24.0.3-dind. Is that the image it is trying to make or is that used to build the image?
Steve