Trying to aurorun my application on verdin 8mP

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,

Thank you for reaching out with your question about autostarting your application on the Verdin iMX8M Plus board using Torizon. It seems like you’re encountering an issue with Docker authentication during the process.

The error message “unauthorized: incorrect username or password” suggests that there might be an issue with the Docker login credentials. Here are some steps you can take to resolve this:

  1. Verify Docker Credentials: Double-check the username and password you are using for Docker Hub. You can test these credentials by manually logging in with the command docker login in your terminal.

  2. Review Script Configuration: Look into the createDockerComposeProduction.ps1 script to ensure it correctly handles the Docker credentials. Make sure the variables for the username and password are set accurately.

  3. Check Environment Variables: If your script relies on environment variables for credentials, confirm that these are correctly set in your environment.

  4. Reset Docker Configuration: If needed, you can reset your Docker credentials by removing the ~/.docker/config.json file and then logging in again.

Once you’ve resolved the authentication issue, you can proceed with building and deploying your Docker images. Ensure that your docker-compose.yml file is correctly configured and placed in the /var/sota/storage/docker-compose/ directory to enable autostart of your containers at boot.

I hope this helps you get your application running smoothly. 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:

Imx8x Torizon 5.7.2 to 6.3 Upgrade Journey - permissions on /etc/docker wrong on update.