I am trying to use the Flutter/Dart template from the Torizon IDE Extension in VS Code on a VirtualBox ubuntu guest connected to a Verdin IMX8MP and all goes well until it tries to pull the docker image from crossware.app:5050/public-repos/flutter:SDK. See the terminal output below.
....skipping a bunch of stuff.....
Applying torizonPackages.json:
Applying to Dockerfile.debug ...
✅ Dockerfile.debug
Applying to Dockerfile.sdk ...
✅ Dockerfile.sdk
Applying to Dockerfile ...
✅ Dockerfile
torizonPackages.json applied
* Terminal will be reused by tasks, press any key to close it.
* Executing task: DOCKER_HOST= docker build --pull -f /home/dev/demo/torizondemo/Dockerfile.sdk /home/dev/demo/torizondemo -t cross-toolchain-arm64-flutter-demo-project --build-arg IMAGE_ARCH=arm64 --build-arg HOST_ARCH=amd64 --build-arg GPU=-imx8 --build-arg APP_ROOT=/home/torizon/app
[+] Building 21.2s (2/2) FINISHED docker:default
=> [internal] load build definition from Dockerfile.sdk 0.0s
=> => transferring dockerfile: 734B 0.0s
=> ERROR [internal] load metadata for crossware.app:5050/public-repos/flutter:SDK 21.0s
------
> [internal] load metadata for crossware.app:5050/public-repos/flutter:SDK:
------
Dockerfile.sdk:33
--------------------
32 | ##
33 | >>> FROM --platform=linux/${IMAGE_ARCH} \
34 | >>> crossware.app:5050/public-repos/flutter:${SDK_BASE_VERSION}
35 |
--------------------
ERROR: failed to build: failed to solve: crossware.app:5050/public-repos/flutter:SDK: failed to resolve source metadata for crossware.app:5050/public-repos/flutter:SDK: failed to do request: Head "https://crossware.app:5050/v2/public-repos/flutter/manifests/SDK": dial tcp 212.47.234.135:5050: connect: connection refused
* The terminal process "/usr/bin/bash '-c', 'DOCKER_HOST= docker build --pull -f /home/dev/demo/torizondemo/Dockerfile.sdk /home/dev/demo/torizondemo -t cross-toolchain-arm64-flutter-demo-project --build-arg IMAGE_ARCH=arm64 --build-arg HOST_ARCH=amd64 --build-arg GPU=-imx8 --build-arg APP_ROOT=/home/torizon/app'" terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.
* Executing task: xonsh .conf/validate-deps-running.xsh
⚠️ VALIDATING ENVIRONMENT
OS: Linux
OS Version: 7.0.0-30-generic
OS Arch: x86_64
Under WSL: false
VS Code:
1.135.0
08d4889f9ec4a1685d257b9b95de036c8e1ce1e5
x64
TOR Extension: toradex.apollox-vscode@3.7.0
✅ Environment is valid!
* Terminal will be reused by tasks, press any key to close it.
* Executing task: bash -c [[ ! -z "10.10.8.38" ]] && true || false
* Terminal will be reused by tasks, press any key to close it.
* Executing task: bash -c [[ "arm64" == "arm64" ]] && true || false
* Terminal will be reused by tasks, press any key to close it.
* Executing task: sshpass -p XXXXremoved scp -P 22 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o PubkeyAuthentication=no /home/dev/demo/torizondemo/docker-compose.yml torizon@10.10.8.38:~/
Warning: Permanently added '10.10.8.38' (ED25519) to the list of known hosts.
* Terminal will be reused by tasks, press any key to close it.
* Executing task: /home/dev/demo/torizondemo/.conf/remove-dangling-images.xsh 10.10.8.38:2375
Waiting for prune lock on host 10.10.8.38:2375
Pruning dangling images on 10.10.8.38:2375
Total reclaimed space: 0B
* Terminal will be reused by tasks, press any key to close it.
* Executing task: docker compose -p torizon stop flutter-demo-project flutter-demo-project-debug && docker compose -p torizon rm -f flutter-demo-project flutter-demo-project-debug && sleep 1
No stopped containers
* Terminal will be reused by tasks, press any key to close it.
* Executing task: xonsh /home/dev/demo/torizondemo/.conf/torizon-packages.xsh arm64
Applying torizonPackages.json:
Applying to Dockerfile.debug ...
✅ Dockerfile.debug
Applying to Dockerfile.sdk ...
✅ Dockerfile.sdk
Applying to Dockerfile ...
✅ Dockerfile
torizonPackages.json applied
* Terminal will be reused by tasks, press any key to close it.
* Executing task: DOCKER_HOST= docker build --pull -f /home/dev/demo/torizondemo/Dockerfile.sdk /home/dev/demo/torizondemo -t cross-toolchain-arm64-flutter-demo-project --build-arg IMAGE_ARCH=arm64 --build-arg HOST_ARCH=amd64 --build-arg GPU=-imx8 --build-arg APP_ROOT=/home/torizon/app
[+] Building 21.2s (2/2) FINISHED docker:default
=> [internal] load build definition from Dockerfile.sdk 0.0s
=> => transferring dockerfile: 734B 0.0s
=> ERROR [internal] load metadata for crossware.app:5050/public-repos/flutter:SDK 21.0s
------
> [internal] load metadata for crossware.app:5050/public-repos/flutter:SDK:
------
Dockerfile.sdk:33
--------------------
32 | ##
33 | >>> FROM --platform=linux/${IMAGE_ARCH} \
34 | >>> crossware.app:5050/public-repos/flutter:${SDK_BASE_VERSION}
35 |
--------------------
ERROR: failed to build: failed to solve: crossware.app:5050/public-repos/flutter:SDK: failed to resolve source metadata for crossware.app:5050/public-repos/flutter:SDK: failed to do request: Head "https://crossware.app:5050/v2/public-repos/flutter/manifests/SDK": dial tcp 212.47.234.135:5050: connect: connection refused
* The terminal process "/usr/bin/bash '-c', 'DOCKER_HOST= docker build --pull -f /home/dev/demo/torizondemo/Dockerfile.sdk /home/dev/demo/torizondemo -t cross-toolchain-arm64-flutter-demo-project --build-arg IMAGE_ARCH=arm64 --build-arg HOST_ARCH=amd64 --build-arg GPU=-imx8 --build-arg APP_ROOT=/home/torizon/app'" terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.