This is a lightweight docker image for SPM Standalone. The image takes 577.38MB compressed and 1.07GB extracted.
For more information see: https://en.wikibooks.org/wiki/SPM/Standalone .
- Pull the image on your local machine:
docker pull alerokhin/spm-min:12
-
Download the example batch script and save it in
C:\spm-min-test
directory. This is a slightly adjusted script of well-known auditory example, available on the SPM official page. -
Run the example script with the following command:
docker run -v "C:\spm-min-test":/data alerokhin/spm-min script /data/auditory_spm12_batch.m
At the beginning of execution, you should see the following output:
Warning: No display specified. You will not be able to display graphics on the screen.
SPM12, version 7771 (standalone)
MATLAB, version 7.10.0.499 (R2010a)
___ ____ __ __
/ __)( _ \( \/ )
\__ \ )___/ ) ( Statistical Parametric Mapping
(___/(__) (_/\/\_) SPM12 - https://www.fil.ion.ucl.ac.uk/spm/
Downloading Auditory dataset... : ...done
------------------------------------------------------------------------
04-Oct-2020 16:06:17 - Running job #1
------------------------------------------------------------------------
04-Oct-2020 16:06:17 - Running 'Make Directory'
04-Oct-2020 16:06:17 - Done 'Make Directory'
04-Oct-2020 16:06:17 - Running 'Move/Delete Files'
04-Oct-2020 16:06:20 - Done 'Move/Delete Files'
04-Oct-2020 16:06:20 - Done
------------------------------------------------------------------------
04-Oct-2020 16:06:22 - Running job #1
------------------------------------------------------------------------
04-Oct-2020 16:06:22 - Running 'Realign: Estimate & Reslice'
- Wait for the job to complete and go to
C:\spm-min-test
to check results.
Clone this repo and run:
docker build . -t alerokhin/spm-min