Skip to content

commandercool/spm-min

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Standalone SPM docker image

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 .

How to use

  1. Pull the image on your local machine:
docker pull alerokhin/spm-min:12
  1. 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.

  2. 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'
  1. Wait for the job to complete and go to C:\spm-min-test to check results.

Building from scratch

Clone this repo and run:

docker build . -t alerokhin/spm-min

About

Minimal docker image to run SPM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published