Closed vitorestevamia closed 1 year ago
Here is a comment @PatStLouis made on the Hyperledger Discord #aries-embedded
channel:
I had great success running aca-py on a raspberry pi in a docker container using QUS https://dbhi.github.io/qus/ You can even setup a fleet on balena cloud (max 10 agents in the free tier) and expose the agent inbound port https://www.balena.io/cloud
We will be publishing multiarchitecture images that will have support for ARM. We are currently working though some dependency issues related to this; https://github.com/hyperledger/aries-cloudagent-python/issues/2124
Nice, i'll run some tests using QUS! Thank you @WadeBarnes and @PatStLouis for sharing this ;)
Do you have any idea of when the multiarchitecture images will come out?
The multiarchitecture images will be available as soon as the askar
dependencies publish the supporting binaries. In most cases I think it's just a matter of bumping the version defined in aca-py. The bbs
dependency may lag behind a bit, but I don't think it's a blocker for many use cases.
About using QUS, this emulator based on it worked pretty well in my case and it's very straightforward to use https://github.com/tonistiigi/binfmt
For anyone having this problem, you just need to:
Emulate amd64
docker run --privileged --rm tonistiigi/binfmt --install amd64
Add platform field on your docker-compose service and set it to linux/amd64
services:
agent:
platform: linux/amd64
image: bcgovimages/aries-cloudagent:py36-1.16-1_0.7.5
...
Run it :D
docker compose up
Thank you @WadeBarnes for the fast and effective help.
The multiarchitecture images will be available as soon as the
askar
dependencies publish the supporting binaries. In most cases I think it's just a matter of bumping the version defined in aca-py. Thebbs
dependency may lag behind a bit, but I don't think it's a blocker for many use cases.
Hi there, am I right in guessing, that there still isn't (official) support for arm64?
I'm trying to deploy the agent on a raspberrypi 4 (arm64v8 system) with docker but he image's platform is amd64 only. I did not found any variation of the image for this system. Is there any different image i can use or a way to build my own?
docker compose file:
terminal output: