diff --git a/doc/Grobid-docker.md b/doc/Grobid-docker.md index 7b447a0cec..e777c1bbf9 100644 --- a/doc/Grobid-docker.md +++ b/doc/Grobid-docker.md @@ -77,7 +77,7 @@ It is then possible to select other Deep Learning models for other processing st ## CRF-only image -The process for retrieving and running the image is as follow: +The process for retrieving and running the image is as follows: - Pull the image from docker HUB (check the [latest version number](https://hub.docker.com/r/lfoppiano/grobid/tags)): @@ -115,6 +115,24 @@ Access the service: Grobid web services are then available as described in the [service documentation](https://grobid.readthedocs.io/en/latest/Grobid-service/). +### ARM64 + +Since version 0.8.1 the CRF-only image is available for both x86_64 and arm64. +The `lfoppiano/grobid:{latest_grobid_version}` support both architectures by default. + +To run it on arm64, use the following command: + +```bash +docker run --ulimit core=0 --platform linux/amd64 -p 8070:8070 --name grobid lfoppiano/grobid:{latest_grobid_version} +``` + +As discussed [here](https://github.com/kermitt2/grobid/issues/1119#issuecomment-2362204879), it is mandatory to provide the parameter `--platform linux/amd64` to force the usage of amd64 architecture and avoid the raising of the rosetta error: + +``` +rosetta error: failed to open elf at /lib64/ld-linux-x86-64.so.2 +``` + +**NOTE**: The arm64 image has been tested only on `macOs` (not linux `arm64`). ## Configure using the yaml config file