File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed
docs/getting_started/bids_apps Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -41,23 +41,17 @@ the docker image will be automatically downloaded from Docker Hub.
4141
4242## Running a BIDS App on a cluster (HPC)
4343
44- Before a BIDS App can be run on a cluster,
45- it first needs to be saved to an Apptainer-compatible image file.1
46- This step needs to be performed outside of the cluster (for example on a laptop) and requires Docker:
44+ HPC clusters typically require Apptainer/Singularity rather than Docker.
45+ Apptainer (and later versions of Singularity) directly support [ Docker/OCI images] ( https://apptainer.org/docs/user/latest/docker_and_oci.html ) .
4746
4847``` bash
49- docker run --privileged -ti --rm \
50- -v /var/run/docker.sock:/var/run/docker.sock \
51- -v /home/srycajal/apptainer_images:/output \
52- singularityware/docker2singularity \
53- bids/example:0.0.4
48+ apptainer build bids-example-0.0.7.sif docker://bids/example:0.0.7
5449```
5550
56- Where ` /home/srycajal/apptainer_images ` is a path where the image will be stored.
5751After transferring the .img file to a cluster it can be run like any other executable:
5852
5953``` bash
60- ./bids_example-0.0.4 .img /bids_dataset /outputs participant --participant_label 01
54+ ./bids_example-0.0.7 .img /bids_dataset /outputs participant --participant_label 01
6155```
6256
6357## Helpful links
You can’t perform that action at this time.
0 commit comments