Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use this on a linux/arm64/v8 OS #36

Open
Thijzzie opened this issue Feb 4, 2021 · 6 comments
Open

Unable to use this on a linux/arm64/v8 OS #36

Thijzzie opened this issue Feb 4, 2021 · 6 comments

Comments

@Thijzzie
Copy link

Thijzzie commented Feb 4, 2021

All the images available are for linux/amd64. Is there a way available to run BalenaOS in Docker on a linux/arm64/v8 OS?

@manuti
Copy link

manuti commented Feb 25, 2021

I'm actually running using "armbian debian" last stable version on AML905x board without problems. And you must install docker and this balenaOS in container .
After that you can run a Generic AARCH64 instance using a command like this:
./balenaos-in-container.sh --config ./Your-Donwload.config.json --image resin/resinos:2.12.4_rev1-generic-aarch64

@FRVisser
Copy link

@manuti I am running this on the Apple Silicon M1 and, although working fine, just noticed it is actually running simulated.

Schermafbeelding 2021-06-29 om 12 45 34

@FRVisser
Copy link

Looking into it, forcing it doesn't help. Seems the aarch64 image actually is amd64.

docker: Error response from daemon: image with reference resin/resinos:2.12.4_rev1-generic-aarch64 was found but does not match the specified platform: wanted linux/arm64, actual: linux/amd64.

@manuti
Copy link

manuti commented Jul 1, 2021

I have the same message but my board is an Android TV box with Linux Armbian sideloaded. So, no Rosetta involved in the docker capabilities and I think is impossible to run images from one architecture in other type (maybe Apple M1 can do using Rosetta).

@manuti
Copy link

manuti commented Jul 1, 2021

hay @FRVisser I started the box after several weeks offline. Despite the updates running, as you can see everything is running under aarch64 architecture.
balenaos-androidtvbox-001
balenaos-androidtvbox-002

@FRVisser
Copy link

Yes, you are right! It works now. But only when you stick to v0.5.3 of balenaos-in-conainer. I made the mistake to pull the latest changes in the hope it was fixed. But the new version complete changed, and I spend hours on trying to get the latest version to work 🙄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants