Skip to content

Commit daab93d

Browse files
authored
DOC how to run the pipeline on mac M1/M2/M3
1 parent aafbc6c commit daab93d

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

+17
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,23 @@ To let docker see the folder containing the head 3D model, you will have to bind
6868
docker run -v /tmp:/tmp -t --rm caseforge:latest /tmp/test-headcase/model.zip /tmp/test-headcase/case.zip
6969
```
7070

71+
### Running with Docker on an ARM system (Mac M1/M2/M3)
72+
73+
To run the pipeline on an ARM system such as a Mac with M1/M2/M3 chip, you need to pass the `--platform linux/amd64` flag to all docker calls (see this [stackoverflow question](https://stackoverflow.com/questions/71040681/qemu-x86-64-could-not-open-lib64-ld-linux-x86-64-so-2-no-such-file-or-direc)).
74+
75+
To build the docker image, run
76+
77+
```bash
78+
docker build --platform linux/amd64 --tag caseforge .
79+
```
80+
81+
To run the pipeline, use
82+
83+
```bash
84+
docker run --platform linux/amd64 --rm caseforge:latest --help
85+
```
86+
87+
7188
## Manual installation
7289

7390
Python requirements are listed under `requirements.txt`, and can be installed with

0 commit comments

Comments
 (0)