From b0712e8e38566b2a622c1c3a648264b1b244b29f Mon Sep 17 00:00:00 2001 From: Paula Date: Wed, 9 Aug 2023 16:49:33 +0200 Subject: [PATCH 1/2] add docker platform tip --- 3.10/install-with-docker.md | 7 +++++++ 3.11/install-with-docker.md | 7 +++++++ 3.12/install-with-docker.md | 7 +++++++ 3 files changed, 21 insertions(+) diff --git a/3.10/install-with-docker.md b/3.10/install-with-docker.md index 073f9a7643..22230785c3 100644 --- a/3.10/install-with-docker.md +++ b/3.10/install-with-docker.md @@ -30,6 +30,13 @@ In order to start an ArangoDB instance, run: docker run -e ARANGO_RANDOM_ROOT_PASSWORD=1 -d --name arangodb-instance arangodb ``` +Alternatively, you can also pass the `--platform` flag to the command, specifying +the operating system and architecture you want to build for: + +``` +docker run --platform linux/arm64/v8 -p 8529:8529 -e ARANGO_ROOT_PASSWORD=1 arangodb-instance arangodb +``` + This creates and launches the ArangoDB Docker instance as a background process. The identifier of the process is printed. By default, ArangoDB listens on port `8529` for requests and the image includes `EXPOSE 8529`. If you link an diff --git a/3.11/install-with-docker.md b/3.11/install-with-docker.md index 436a666fa8..b5d2d9ae04 100644 --- a/3.11/install-with-docker.md +++ b/3.11/install-with-docker.md @@ -30,6 +30,13 @@ In order to start an ArangoDB instance, run: docker run -e ARANGO_RANDOM_ROOT_PASSWORD=1 -d --name arangodb-instance arangodb ``` +Alternatively, you can also pass the `--platform` flag to the command, specifying +the operating system and architecture you want to build for: + +``` +docker run --platform linux/arm64/v8 -p 8529:8529 -e ARANGO_ROOT_PASSWORD=1 arangodb-instance arangodb +``` + This creates and launches the ArangoDB Docker instance as a background process. The identifier of the process is printed. By default, ArangoDB listens on port `8529` for requests and the image includes `EXPOSE 8529`. If you link an diff --git a/3.12/install-with-docker.md b/3.12/install-with-docker.md index 436a666fa8..b5d2d9ae04 100644 --- a/3.12/install-with-docker.md +++ b/3.12/install-with-docker.md @@ -30,6 +30,13 @@ In order to start an ArangoDB instance, run: docker run -e ARANGO_RANDOM_ROOT_PASSWORD=1 -d --name arangodb-instance arangodb ``` +Alternatively, you can also pass the `--platform` flag to the command, specifying +the operating system and architecture you want to build for: + +``` +docker run --platform linux/arm64/v8 -p 8529:8529 -e ARANGO_ROOT_PASSWORD=1 arangodb-instance arangodb +``` + This creates and launches the ArangoDB Docker instance as a background process. The identifier of the process is printed. By default, ArangoDB listens on port `8529` for requests and the image includes `EXPOSE 8529`. If you link an From 1884121ef7170666433fa2bf5b0a5acdccbe0e3b Mon Sep 17 00:00:00 2001 From: Paula Date: Wed, 9 Aug 2023 17:09:32 +0200 Subject: [PATCH 2/2] specifically add macos/arm --- 3.10/install-with-docker.md | 4 +++- 3.11/install-with-docker.md | 4 +++- 3.12/install-with-docker.md | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/3.10/install-with-docker.md b/3.10/install-with-docker.md index 22230785c3..da1d570280 100644 --- a/3.10/install-with-docker.md +++ b/3.10/install-with-docker.md @@ -30,7 +30,9 @@ In order to start an ArangoDB instance, run: docker run -e ARANGO_RANDOM_ROOT_PASSWORD=1 -d --name arangodb-instance arangodb ``` -Alternatively, you can also pass the `--platform` flag to the command, specifying +Note that on macOS/ARM, the default chosen processor architecture may not be +the best choice. +To override this, you can pass the `--platform` flag to the command, specifying the operating system and architecture you want to build for: ``` diff --git a/3.11/install-with-docker.md b/3.11/install-with-docker.md index b5d2d9ae04..b054e08ede 100644 --- a/3.11/install-with-docker.md +++ b/3.11/install-with-docker.md @@ -30,7 +30,9 @@ In order to start an ArangoDB instance, run: docker run -e ARANGO_RANDOM_ROOT_PASSWORD=1 -d --name arangodb-instance arangodb ``` -Alternatively, you can also pass the `--platform` flag to the command, specifying +Note that on macOS/ARM, the default chosen processor architecture may not be +the best choice. +To override this, you can pass the `--platform` flag to the command, specifying the operating system and architecture you want to build for: ``` diff --git a/3.12/install-with-docker.md b/3.12/install-with-docker.md index b5d2d9ae04..b054e08ede 100644 --- a/3.12/install-with-docker.md +++ b/3.12/install-with-docker.md @@ -30,7 +30,9 @@ In order to start an ArangoDB instance, run: docker run -e ARANGO_RANDOM_ROOT_PASSWORD=1 -d --name arangodb-instance arangodb ``` -Alternatively, you can also pass the `--platform` flag to the command, specifying +Note that on macOS/ARM, the default chosen processor architecture may not be +the best choice. +To override this, you can pass the `--platform` flag to the command, specifying the operating system and architecture you want to build for: ```