arduino / portenta-containers

13 stars 5 forks source link

Foundries dependecy #2

Open wero1414 opened 10 months ago

wero1414 commented 10 months ago

Hello, i tried to play with this cointainers but eventhough the tutorial (https://docs.arduino.cc/tutorials/portenta-x8/display-output-webgl) says this repository is an alternative from using foundriesFactories (which i dont want to pay).

image

This repository also depends on having a factory registered in their platform.

image

I tried putting the credentials to access the Factory "Arduino" but my device lacks of permits, so i dont know how to play with this containers.

image

Do you have any plan on having the containers standalone, or in the docker hub?

Thanks!

MaxPayne86 commented 9 months ago

@wero1414 you're right, I will check with the team about this portenta-containers repository. We build some of the images here and push them of dockerhub. You need to edit this line to address dockerhub images and you're set. We need to duplicate the docker-compose.yml in something like docker-compose.foundries.io.yml and docker-compose.yml (which points to dockerhub Arduino).

rxbynerd commented 8 months ago

I've had a similar experience with the Portenta X8: the FoundariesFactory is far too expensive ($60k/year list price) for the one device I'd like to run a Docker container on.

I've pushed the python-ble-scanner-x8 Docker container up to Docker Hub on my account, because the Arduino repository for this example is actually empty.

To assist anyone else looking for an example on Docker Hub, the command I used to build & push the container on an M1 MacBook is:

docker build --platform linux/aarch64 --push -t rubynerd/python-ble-scanner-x8:latest .

Overall, I regret purchasing the Portenta X8 for this project, as I was unaware how frustrating and expensive the software side would be: the board is €200, but the subscription necessary to run a custom container is a $250/month add-on to a $42/month subscription, with no free trial available to confirm if it actually works.

MaxPayne86 commented 8 months ago

the subscription necessary to run a custom container is a $250/month

Foundries.io subscription is a fleet management service, you don't need such a service to run a custom container on the board. If it was otherwise advertised, then we have to fix the doc where we say that (in case plz provide a link)

because the Arduino repository for this example is actually empty

We have a github workflow file please send me a PR to add this container there thanks. We will soon review this part on our end too, but it's probably the quickest way.

Thanks for your feedback guys. Btw we're working on this url issue and we will update the discussion here asap

wero1414 commented 8 months ago

I made my own docker images too and push them to dockerHub, as a solution, but maybe a lot of people will struggle with this

wero1414 commented 8 months ago

@wero1414 you're right, I will check with the team about this portenta-containers repository. We build some of the images here and push them of dockerhub. You need to edit this line to address dockerhub images and you're set. We need to duplicate the docker-compose.yml in something like docker-compose.foundries.io.yml and docker-compose.yml (which points to dockerhub Arduino).

I checked Arduino Docker Hub and i see now you are pushing all the images right there, im happy to see this, hope the documentation soon gets an update, Thanks for the following

rxbynerd commented 8 months ago

@MaxPayne86 I think the marketing language has lead to some confusion here, as the marketing for Portenta X8 Board Manager on the product's Store page states PXBM is necessary for "deploying" containers to it, not "running" containers:

Screenshot 2024-02-04 at 13 30 16

That said, this frustration is now rendered moot as my Portenta X8 has been bricked after being sat on the desk doing nothing for a week, and the documentation on potential recovery options ranges from sparse to non-existent. It's a very frustrating product, unfortunately.

MaxPayne86 commented 3 weeks ago

@rxbynerd @wero1414 we now build the docker images in CI and publish on Arduino dockerhub

https://github.com/arduino/portenta-containers/blob/c37d9ac11d058cfae4fb322d198f5a80364ec7cd/.github/workflows/docker-publish.yml#L26

we need to expand this list with what we currently support and then we have to switch the urls in the docker-compose files. Regarding the marketing stuff I will forward to the correct person, thanks for reporting.

Portenta X8 has been bricked

Regarding this I woud suggest to open a support ticket if you didn't do it already, otherwise I would go with a reflash of the board.