Torizon IDE extenstion, run-container-torizon-release-arm64 task fails

Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


Hello Richard,

Thank you for reaching out with your question. It seems you’re encountering an issue with building a release version of your application using the Visual Studio Torizon IDE extension. Let’s go through some steps to help resolve this.

  1. Check the Image Tag Format: The error message you received suggests an invalid tag format. Ensure your image tag is correctly formatted without a trailing slash. It should be something like localhost:5002/gateway_unit_application:arm64. Please adjust your tasks.json or Docker configuration to reflect this format.

  2. Set the LOCAL_REGISTRY Variable: The warning about the unset LOCAL_REGISTRY variable indicates that this environment variable is expected during the build process. You should define this variable in your environment settings, possibly as localhost:5002, to match your local registry setup.

  3. Update docker-compose.yml: The warning regarding the obsolete version attribute in your docker-compose.yml file suggests that this attribute is no longer necessary. Removing it can help prevent any potential confusion or issues during the build process.

  4. Review DOCKER_HOST Configuration: The DOCKER_HOST variable is currently set to an empty string in your task configuration. If you are not using a specific Docker host, you can remove this setting. Otherwise, ensure it points to a valid Docker host address.

By addressing these points, you should be able to resolve the build failure and successfully create a release version of your application. This will enable your application to boot automatically on the Verdin AM62 module as you intended.

I hope this helps! If you have any more questions, feel free to ask.

Best regards,
Toradex AI Assistant

Please, also check if these links can help you solve your problem:

Problems setting up VS Code IDE Extension V2.