mirror of https://github.com/docker/docs.git
Merge pull request #18315 from dvdksn/build-rephrase-qemu-emulation
build: rephrase perf penalty with qemu emulation
This commit is contained in:
commit
e1db0099ae
|
@ -55,9 +55,8 @@ loads it through a binary registered in the `binfmt_misc` handler.
|
|||
|
||||
> **Note**
|
||||
>
|
||||
> QEMU performs full-system emulation of non-native platforms, which is much
|
||||
> slower than native builds. Compute-heavy tasks like compilation and
|
||||
> compression or decompression likely results in a large performance hit.
|
||||
> Emulation with QEMU can be much slower than native builds, especially for
|
||||
> compute-heavy tasks like compilation and compression or decompression.
|
||||
>
|
||||
> Use [cross-compilation](#cross-compilation) instead, if possible.
|
||||
|
||||
|
@ -257,4 +256,4 @@ Linux architectures such as `arm`, `mips`, `ppc64le`, and even `s390x`.
|
|||
This does not require any special configuration in the container itself as it
|
||||
uses [qemu-static](https://wiki.qemu.org/Main_Page)
|
||||
from the Docker Desktop VM. Because of this, you can run an ARM container,
|
||||
like the `arm32v7` or `ppc64le` variants of the busybox image.
|
||||
like the `arm32v7` or `ppc64le` variants of the busybox image.
|
||||
|
|
|
@ -135,11 +135,10 @@ $ docker buildx build \
|
|||
--push .
|
||||
```
|
||||
|
||||
> **Warning**
|
||||
> **Note**
|
||||
>
|
||||
> QEMU performs full-system emulation of non-native platforms, which is much
|
||||
> slower than native builds. Compute-heavy tasks like compilation and
|
||||
> compression/decompression will likely take a large performance hit.
|
||||
> Emulation with QEMU can be much slower than native builds, especially for
|
||||
> compute-heavy tasks like compilation and compression or decompression.
|
||||
|
||||
## Custom network
|
||||
|
||||
|
|
Loading…
Reference in New Issue