arm64 on Linux
Hi,
I'm exploring migration to arm64 architecture atm, but as soon as I publish my app for linux-musl-arm64 architecture and try to run it in Docker container based on Alpine 3.1 memory usage goes to 100% and container being killed by runtime. When switched back to x64 same code runs fine.
Is Alpine supported at all for arm64 architecture and if yes do I maybe need to install some additional packages?
My setup is:
- .Net 8
- SolaceSystems.Solclient.Messaging version 10.24.0
- Base Docker image is Alpine 3.19
Best Answer
Answers
-
Hi @Anton,
Currently we support Alpine on X86, or ARM… but not both. If you have a look at the supported environments page, you'll see
Linux (x86/x86_64) variants that are in active support and also have security update support.
- Compatible with glibc 2.17 and later (desktop/server) and musl-c 1.2 (Alpine Linux)
- Linux (ARM) variants that are in active support and also have security update support.
What you should see:
- Linux (ARM) variants that are in active support and also have security update support.
Compatible with glibc 2.17 and later (desktop/server)
Sorry about that. I'll have the docs updated. I don't have a date for musl-c on ARM support, unfortunately.
0 -
Hi @TomF .
Sorry, but I don't get it. First you say that Alpine on ARM is supported but later you say it is not. So is it or not? And what do you mean by "Alpine on x86 or ARM but not both"?
Let me maybe re-iterate my scenario:
- Docker image built with my app for x64 architecture - works fine.
- Docker image build from the same source but for arm64 - fails on a session creation.
Base images are the Alpine-3.19, it's just in the first case it's a x64 image and in the second it's arm64 one.
0