Hello all,
I keep getting the following error while trying to use the docker-compose.yml to bundle my docker container
This is the command I use:
torizoncore-builder --bundle-directory bundled_containers bundle -f docker_compose.yml --platform linux/arm64 --host-workdir $(pwd)
Output
An unexpected Exception occured. Please provide the following stack trace to
the Toradex TorizonCore support team:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/docker/api/client.py", line 259, in _raise_for_status
response.raise_for_status()
File "/usr/local/lib/python3.7/dist-packages/requests/models.py", line 941, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://127.0.0.1:22376/v1.40/images/create?tag=latest&fromImage=bba_app_arm64v8-debian-python3_bullseye_release_437ef37d-0975-42f4-b754-b77135cf72f9&platform=linux%2Farm64
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/builder/torizoncore-builder", line 131, in <module>
mainargs.func(mainargs)
File "/builder/tcbuilder/cli/bundle.py", line 24, in bundle_containers
platform=args.platform, output_filename=common.DOCKER_BUNDLE_FILENAME)
File "/builder/dockerbundle.py", line 277, in download_containers_by_compose_file
image = dind_client.images.pull(image, platform=platform)
File "/usr/local/lib/python3.7/dist-packages/docker/models/images.py", line 445, in pull
repository, tag=tag, stream=True, **kwargs
File "/usr/local/lib/python3.7/dist-packages/docker/api/image.py", line 415, in pull
self._raise_for_status(response)
File "/usr/local/lib/python3.7/dist-packages/docker/api/client.py", line 261, in _raise_for_status
raise create_api_error_from_http_exception(e)
File "/usr/local/lib/python3.7/dist-packages/docker/errors.py", line 31, in create_api_error_from_http_exception
raise cls(e, response=response, explanation=explanation)
docker.errors.ImageNotFound: 404 Client Error: Not Found ("pull access denied for bba_app_arm64v8-debian-python3_bullseye_release_437ef37d-0975-42f4-b754-b77135cf72f9, repository does not exist or may require 'docker login': denied: requested access to the resource is denied")
Can someone please help to identify the issue?
Regards,
Gaurav