Skip to content
This repository was archived by the owner on Dec 13, 2023. It is now read-only.

Commit acd6d56

Browse files
authored
Add docker --platform note (#1445)
* add docker platform tip * specifically add macos/arm
1 parent 7934e83 commit acd6d56

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

3.10/install-with-docker.md

+9
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,15 @@ In order to start an ArangoDB instance, run:
3030
docker run -e ARANGO_RANDOM_ROOT_PASSWORD=1 -d --name arangodb-instance arangodb
3131
```
3232

33+
Note that on macOS/ARM, the default chosen processor architecture may not be
34+
the best choice.
35+
To override this, you can pass the `--platform` flag to the command, specifying
36+
the operating system and architecture you want to build for:
37+
38+
```
39+
docker run --platform linux/arm64/v8 -p 8529:8529 -e ARANGO_ROOT_PASSWORD=1 arangodb-instance arangodb
40+
```
41+
3342
This creates and launches the ArangoDB Docker instance as a background process.
3443
The identifier of the process is printed. By default, ArangoDB listens on port
3544
`8529` for requests and the image includes `EXPOSE 8529`. If you link an

3.11/install-with-docker.md

+9
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,15 @@ In order to start an ArangoDB instance, run:
3030
docker run -e ARANGO_RANDOM_ROOT_PASSWORD=1 -d --name arangodb-instance arangodb
3131
```
3232

33+
Note that on macOS/ARM, the default chosen processor architecture may not be
34+
the best choice.
35+
To override this, you can pass the `--platform` flag to the command, specifying
36+
the operating system and architecture you want to build for:
37+
38+
```
39+
docker run --platform linux/arm64/v8 -p 8529:8529 -e ARANGO_ROOT_PASSWORD=1 arangodb-instance arangodb
40+
```
41+
3342
This creates and launches the ArangoDB Docker instance as a background process.
3443
The identifier of the process is printed. By default, ArangoDB listens on port
3544
`8529` for requests and the image includes `EXPOSE 8529`. If you link an

3.12/install-with-docker.md

+9
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,15 @@ In order to start an ArangoDB instance, run:
3030
docker run -e ARANGO_RANDOM_ROOT_PASSWORD=1 -d --name arangodb-instance arangodb
3131
```
3232

33+
Note that on macOS/ARM, the default chosen processor architecture may not be
34+
the best choice.
35+
To override this, you can pass the `--platform` flag to the command, specifying
36+
the operating system and architecture you want to build for:
37+
38+
```
39+
docker run --platform linux/arm64/v8 -p 8529:8529 -e ARANGO_ROOT_PASSWORD=1 arangodb-instance arangodb
40+
```
41+
3342
This creates and launches the ArangoDB Docker instance as a background process.
3443
The identifier of the process is printed. By default, ArangoDB listens on port
3544
`8529` for requests and the image includes `EXPOSE 8529`. If you link an

0 commit comments

Comments
 (0)