Image configured to run Freesurfer recon-all.
3.5K
This dockerfile will create a Freesurfer (v5.3.0) docker image that executes recon-all and compresses the outputs.
build.sh to edit the tag for the image (default=vistalab/recon-all).To build the image, either download the files from this repo or clone the repo:
git clone https://github.com/vistalab/docker
cd docker/freesurfer/recon-all/
./build.sh
An 'Entrypoint' has been configured for this image at /opt/run, which will do the following:
recon-all using the inputs providedzip) all the outputs generatedTo run recon-all from this image you can do the following (note that the recon-all command is omitted as it is called from the Entrypoint):
docker run --rm -ti \
-v </path/to/input/data>:/input \
-v </path/for/output/data>:/ouput \
vistalab/recon-all -i /input/<t1_file.nii.gz> -subjid <subjectID> -all
Note that you are mounting the directory (-v flag) which contains your data in the container at /input and mounting the directory where you want your output data within the container at /output.
recon-all args (relative to the contianer) should be provided at the end of the docker run command, as shown above. Remember that if those inputs are files or other resources, they must also be mounted in the container and the full path to them (again, relative to the container) must be provided.
Content type
Image
Digest
sha256:d876c957a…
Size
4.1 GB
Last updated
almost 9 years ago
docker pull vistalab/recon-all