Skip to content

Commit 7e52923

Browse files
authored
Merge pull request #4860 from mvanhorn/osc/4859-stargz-docs-no-rosetta
docs(stargz): drop Rosetta requirement note
2 parents 1d55d6d + 5b9ff12 commit 7e52923

1 file changed

Lines changed: 9 additions & 15 deletions

File tree

  • website/content/en/docs/examples/containers/containerd/advanced

website/content/en/docs/examples/containers/containerd/advanced/stargz.md

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,34 +9,28 @@ that reduces start-up latency using lazy-pulling technique.
99

1010
The support for eStargz is available by default in Lima.
1111

12-
{{% alert title="Hint" color=success %}}
13-
ARM Mac users need to run `limactl start` with `--rosetta` to allow [running AMD64 binaries](../../../../config/multi-arch.md).
14-
This is not an architectural limitation of eStargz, however, Rosetta is needed because the example Python image below
15-
is currently [only available for AMD64](https://github.com/containerd/stargz-snapshotter/issues/2143).
16-
{{% /alert %}}
12+
The timings below were measured on an Apple M5 Max (macOS, VZ-backend Lima, default template) pulling the native arm64 images. Numbers are a median of three cold runs (image removed with `nerdctl rmi` between each run).
1713

1814
Without eStargz:
1915

2016
```console
21-
$ time lima nerdctl run --platform=amd64 ghcr.io/stargz-containers/python:3.13-org python3 -c 'print("hi")'
22-
[...]
17+
$ time lima nerdctl run ghcr.io/stargz-containers/python:3.13-org python3 -c 'print("hi")'
2318
hi
2419

25-
real 0m23.767s
26-
user 0m0.025s
27-
sys 0m0.020s
20+
real 0m14.031s
21+
user 0m0.017s
22+
sys 0m0.018s
2823
```
2924

3025
With eStargz:
3126

3227
```console
33-
$ time lima nerdctl --snapshotter=stargz run --platform=amd64 ghcr.io/stargz-containers/python:3.13-esgz python3 -c 'print("hi")'
34-
[...]
28+
$ time lima nerdctl --snapshotter=stargz run ghcr.io/stargz-containers/python:3.13-esgz python3 -c 'print("hi")'
3529
hi
3630

37-
real 0m13.365s
38-
user 0m0.026s
39-
sys 0m0.021s
31+
real 0m3.275s
32+
user 0m0.017s
33+
sys 0m0.016s
4034
```
4135

4236
Examples of eStargz images can be found at

0 commit comments

Comments
 (0)