Skip to content

Commit

Permalink
add detail about --init
Browse files Browse the repository at this point in the history
  • Loading branch information
lfoppiano committed Sep 20, 2024
1 parent 81ac1dc commit 9cc7285
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/Grobid-docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ The `lfoppiano/grobid:{latest_grobid_version}` support both architectures by def
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}
docker run --ulimit core=0 --platform linux/amd64 --init -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:
Expand Down

0 comments on commit 9cc7285

Please sign in to comment.