[GH-ISSUE #1430] Amnezia on UTM Ubuntu server ARM error #597

Closed
opened 2026-10-13 20:24:49 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @rinatagishev on GitHub (Feb 22, 2025).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/1430

Describe the bug
When installing Amnezia to such setup it cant build docker image, because ARM arch not expected

To Reproduce
Steps to reproduce the behavior:

  1. Install UTM on Mac
  2. Download Ubuntu server 22 ARM
  3. Install downloaded iso with Simulated VM in UTM
  4. See error

Expected behavior
Should work on ARM as well

Originally created by @rinatagishev on GitHub (Feb 22, 2025). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/1430 **Describe the bug** When installing Amnezia to such setup it cant build docker image, because ARM arch not expected **To Reproduce** Steps to reproduce the behavior: 1. Install UTM on Mac 2. Download Ubuntu server 22 ARM 3. Install downloaded iso with Simulated VM in UTM 4. See error **Expected behavior** Should work on ARM as well
Author
Owner

@rinatagishev commented on GitHub (Feb 22, 2025):

See this error
The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8)

Build log error:
sudo docker build --no-cache -t amnezia-awg /opt/amnezia/amnezia-awg 2>&1 | tee build.log
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
Install the buildx component to build images with BuildKit:
https://docs.docker.com/go/buildx/

Sending build context to Docker daemon 3.072kB
Step 1/10 : FROM amneziavpn/amnezia-wg:latest
latest: Pulling from amneziavpn/amnezia-wg
3695f6c099b8: Pulling fs layer
cc8edb2696de: Pulling fs layer
db856ea64421: Pulling fs layer
db856ea64421: Download complete
cc8edb2696de: Verifying Checksum
cc8edb2696de: Download complete
3695f6c099b8: Verifying Checksum
3695f6c099b8: Download complete
3695f6c099b8: Pull complete
cc8edb2696de: Pull complete
db856ea64421: Pull complete
Digest: sha256:ea050861bd2012a6265817636ce7c0c15764ef955782d953cef42e05c1381250
Status: Downloaded newer image for amneziavpn/amnezia-wg:latest
---> fea7404aa7d1
Step 2/10 : LABEL maintainer="AmneziaVPN"
---> [Warning] The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
---> Running in c2fd9e51da11
---> Removed intermediate container c2fd9e51da11
---> 7180aad1d694
Step 3/10 : RUN apk add --no-cache bash curl dumb-init
---> [Warning] The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
---> Running in 664031be3e03
exec /bin/sh: exec format error
The command '/bin/sh -c apk add --no-cache bash curl dumb-init' returned a non-zero code: 1

<!-- gh-comment-id:2676259502 --> @rinatagishev commented on GitHub (Feb 22, 2025): See this error The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) Build log error: sudo docker build --no-cache -t amnezia-awg /opt/amnezia/amnezia-awg 2>&1 | tee build.log DEPRECATED: The legacy builder is deprecated and will be removed in a future release. Install the buildx component to build images with BuildKit: https://docs.docker.com/go/buildx/ Sending build context to Docker daemon 3.072kB Step 1/10 : FROM amneziavpn/amnezia-wg:latest latest: Pulling from amneziavpn/amnezia-wg 3695f6c099b8: Pulling fs layer cc8edb2696de: Pulling fs layer db856ea64421: Pulling fs layer db856ea64421: Download complete cc8edb2696de: Verifying Checksum cc8edb2696de: Download complete 3695f6c099b8: Verifying Checksum 3695f6c099b8: Download complete 3695f6c099b8: Pull complete cc8edb2696de: Pull complete db856ea64421: Pull complete Digest: sha256:ea050861bd2012a6265817636ce7c0c15764ef955782d953cef42e05c1381250 Status: Downloaded newer image for amneziavpn/amnezia-wg:latest ---> fea7404aa7d1 Step 2/10 : LABEL maintainer="AmneziaVPN" ---> [Warning] The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested ---> Running in c2fd9e51da11 ---> Removed intermediate container c2fd9e51da11 ---> 7180aad1d694 Step 3/10 : RUN apk add --no-cache bash curl dumb-init ---> [Warning] The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested ---> Running in 664031be3e03 exec /bin/sh: exec format error The command '/bin/sh -c apk add --no-cache bash curl dumb-init' returned a non-zero code: 1
Author
Owner

@Nethius commented on GitHub (Feb 23, 2025):

https://docs.amnezia.org/documentation/supported-linux-os-for-vps

<!-- gh-comment-id:2676573110 --> @Nethius commented on GitHub (Feb 23, 2025): https://docs.amnezia.org/documentation/supported-linux-os-for-vps
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#597
No description provided.