< SPM
Docker
Docker is a container technology, performing operating-system-level virtualisation.
https://www.docker.com/
See also Singularity.
SPM Docker Container
Official SPM12 Dockerfile (using the Standalone SPM):
https://github.com/spm/spm-docker https://hub.docker.com/r/spmcentral/spm/
For example, to start SPM with its graphical user interface:
xhost +local:docker docker run -ti --rm -e DISPLAY=$DISPLAY -v /tmp:/tmp -v /tmp/.X11-unix:/tmp/.X11-unix spmcentral/spm fmri
If the container's root filesystem is mounted as read only (--read-only flag), you need to bind mount an extra volume:
-v /tmp/.matlab:/root/.matlab
See also
SPM BIDS-App
https://github.com/BIDS-Apps/SPM https://hub.docker.com/r/bids/spm/
Neurodocker
https://github.com/kaczmarj/neurodocker https://hub.docker.com/r/kaczmarj/neurodocker/
MATLAB Dockerfile
https://github.com/mathworks-ref-arch/matlab-dockerfile
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.