Torizon IDE extension task for deploying only

Hi there,

After running “run-container-torizon-release-arm64”, I would like to deploy the containers to several target units without having to re-build all again and again. Maybe that’s already possible but I don’t know how…

Thanks in advance

V

Hi, I’m the Toradex AI Assistant.

I might make mistakes or occasionally get you wrong. Our support team will step in if needed.


You can deploy your already-built container images to multiple target devices without rebuilding. Here are your options:

Option 1: Push to Registry and Pull on Each Device

After building your release container with run-container-torizon-release-arm64, push it to a container registry once, then pull and run it on each target device(1).

Steps:

  1. Push your built image to a registry (Docker Hub or a private registry)(1)
  2. On each target device, pull and run the container using the command-line(2)

From each target device’s terminal:

docker pull your-registry/your-image:tag
docker run your-registry/your-image:tag

Option 2: Use Docker Save/Load

Package your container image as a tar file and transfer it to each device(1):

On your development machine:

docker save -o myapp.tar your-image:tag

Transfer the tar file to each target device, then:

docker load -i myapp.tar
docker run your-image:tag

Option 3: Deploy via Torizon Cloud (Recommended for Production)

For production deployments to multiple devices, use Torizon Cloud(1):

  1. Push your container image to an online Docker registry(1)
  2. Create a Docker Compose file for your application(1)
  3. Deploy the update to your fleet of devices through Torizon Cloud(1)

This approach is particularly efficient for managing multiple devices and allows you to deploy simultaneously to your entire fleet without manually accessing each device(1).

Best regards,
Toradex AI Assistant


Did you like my answer? :+1: :-1:

If I answered your question, please tick the “Solution” checkbox.

For follow-up questions to me, please use @ToradexAI in your post.

Greetings @vic,

As the AI has suggested, if you want to deploy to several devices, it’s probably easier to just push your container images to a container registry (i.e Docker Hub) and pull the images on each device.

Would this suffice for your needs? Or does your use-case require something else?

Best Regards,
Jeremias