Skip to content

Commit a948780

Browse files
authored
Merge pull request #3958 from apostasie/qemu
Add qemu/rosetta notes
2 parents 892a8bb + ea685ae commit a948780

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/multi-platform.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,16 @@ $ nerdctl push --all-platforms example.com/foo:latest
5757

5858
### Compose
5959
See [`../examples/compose-multi-platform`](../examples/compose-multi-platform)
60+
61+
## macOS + Lima
62+
63+
As of 2025-03-01, qemu seems to be broken in most Apple-silicon setups.
64+
This might be due to qemu handling of host vs. guest page sizes
65+
(unconfirmed, see https://github.com/containerd/nerdctl/issues/3948 for more information).
66+
67+
It should also be noted that Linux 6.11 introduced a change to the VDSO (on ARM)
68+
that does break Rosetta.
69+
70+
The take-away here is that presumably your only shot at running non-native binaries
71+
on Apple-silicon is to use an older kernel for your guest (<6.11), typically as shipped by Debian stable,
72+
and also to use VZ+Rosetta and not qemu (eg: `limactl create --vm-type=vz --rosetta`).

0 commit comments

Comments
 (0)