diff options
| author | Leonard Anderweit <[email protected]> | 2025-04-01 14:28:11 +0200 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2025-04-03 09:04:35 +0200 |
| commit | 4738e306fd0d7d7fb3fac9e36717fb07af943965 (patch) | |
| tree | 3d00ee9162605f1d3e65fc91d2e6bb6865132d68 | |
| parent | e763c195074f880d31896a36888271bcf0f5758a (diff) | |
doc: build: docker: Use code-block for syntax highlighting
Use ..code-block:: syntax highlighting instead of :: so all bash
commands use the same syntax highlighting.
Signed-off-by: Leonard Anderweit <[email protected]>
Reviewed-by: Quentin Schulz <[email protected]>
| -rw-r--r-- | doc/build/docker.rst | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/build/docker.rst b/doc/build/docker.rst index fe087651d34..4974a98d4af 100644 --- a/doc/build/docker.rst +++ b/doc/build/docker.rst @@ -12,7 +12,9 @@ You will need a multi-platform container, otherwise this error is shown:: ERROR: Multi-platform build is not supported for the docker driver. Switch to a different driver, or turn on the containerd image store, and try again. -You can add a simple one with:: +You can add a simple one with: + +.. code-block:: bash sudo docker buildx create --name multiarch --driver docker-container --use @@ -20,7 +22,9 @@ This will result in a builder that will use QEMU for the non-native architectures request in a build. While both amd64 and arm64 happen in parallel, the non-native part will take considerably longer as it must use QEMU to emulate the foreign code. An alternative, if you have accesss to reasonably -fast amd64 (i.e. 64-bit x86) and arm64 machines is:: +fast amd64 (i.e. 64-bit x86) and arm64 machines is: + +.. code-block:: bash sudo docker buildx create --name multiarch-multinode --node localNode --bootstrap --use sudo docker buildx create --name multiarch-multinode --append --node remoteNode --bootstrap ssh://user@host |
