{"id":45217172,"url":"https://github.com/spm/spm-docker","last_synced_at":"2026-02-20T17:13:30.713Z","repository":{"id":88865807,"uuid":"73371340","full_name":"spm/spm-docker","owner":"spm","description":"SPM Containers (Docker \u0026 Singularity)","archived":false,"fork":false,"pushed_at":"2025-09-16T14:18:46.000Z","size":105,"stargazers_count":25,"open_issues_count":3,"forks_count":13,"subscribers_count":13,"default_branch":"main","last_synced_at":"2026-01-19T19:41:21.457Z","etag":null,"topics":["container","docker","matlab","octave","singularity","spm","spm12"],"latest_commit_sha":null,"homepage":"https://www.fil.ion.ucl.ac.uk/spm/docs/installation/containers/","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-10T10:26:13.000Z","updated_at":"2025-12-09T09:06:21.000Z","dependencies_parsed_at":"2024-11-15T15:19:21.880Z","dependency_job_id":"ac4769fc-03a5-45c0-aedb-a3048108c477","html_url":"https://github.com/spm/spm-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/spm/spm-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spm%2Fspm-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spm%2Fspm-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spm%2Fspm-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spm%2Fspm-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spm","download_url":"https://codeload.github.com/spm/spm-docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spm%2Fspm-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29658179,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T16:33:43.953Z","status":"ssl_error","status_checked_at":"2026-02-20T16:33:43.598Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["container","docker","matlab","octave","singularity","spm","spm12"],"created_at":"2026-02-20T17:13:29.969Z","updated_at":"2026-02-20T17:13:30.708Z","avatar_url":"https://github.com/spm.png","language":"Dockerfile","readme":"# SPM Containers\n\nThis repository provides github action workflows for automatic docker and singularity image creation. They are triggered by releasing a new SPM version.\n\n## Containers\n\nThe containers are hosted on the [**GitHub Container Registry**](https://github.com/spm/spm-docker/pkgs/container/spm-docker)\n\n```bash\ndocker pull ghcr.io/spm/spm-docker:docker-matlab-latest\ndocker pull ghcr.io/spm/spm-docker:docker-octave-latest\n```\n\n```bash\nsingularity pull oras://ghcr.io/spm/spm-docker:singularity-matlab-latest\nsingularity pull oras://ghcr.io/spm/spm-docker:singularity-octave-latest\n```\n\n## Usage\n\nFor example, to start SPM with its graphical user interface, use the following:\n\n```bash\nxhost +local:docker  \ndocker run -ti --rm -e DISPLAY=$DISPLAY -v /tmp:/tmp -v /tmp/.X11-unix:/tmp/.X11-unix ghcr.io/spm/spm-docker:docker-matlab-latest fmri\n```\n\nIf the container\\'s root filesystem is mounted as read only\n(`--read-only` flag), you need to bind mount an extra volume:\n\n```bash\n-v /tmp/.matlab:/root/.matlab\n```\n\n## Technology\n\n### Docker\n\n[Docker](https://www.docker.com/) is a container technology, performing operating-system-level\nvirtualisation.\n\n### Singularity\n\nSingularity is another container technology that performs operating-system-level virtualization. One of the main uses of Singularity is to bring containers and reproducibility to scientific computing and HPC.\n\n* [SingularityCE](https://sylabs.io/singularity/)\n* [Apptainer](https://apptainer.org/)\n\n## SPM Containers Creation\n\nThe official SPM `Dockerfiles`:\n\n* [Dockerfile](https://github.com/spm/spm-docker/blob/main/matlab/Dockerfile) using the [SPM Standalone](https://www.fil.ion.ucl.ac.uk/spm/docs/installation/standalone/)\n* [Dockerfile](https://github.com/spm/spm-docker/blob/main/octave/Dockerfile) using [GNU Octave](https://www.octave.org/)\n* [Dockerfile](https://github.com/spm/spm-docker/blob/main/matlab/Dockerfile) using the [SPM Standalone](https://www.fil.ion.ucl.ac.uk/spm/docs/installation/standalone/) and selected [third-party toolboxes](https://github.com/spm-toolboxes/) (outdated)\n\nThe singularity `sif` images are created from the docker images.\n\n## Documentation\n\nCheck the [SPM online documentation](https://www.fil.ion.ucl.ac.uk/spm/docs/installation/containers/).\n\n## See also\n\n### Neurodesk\n\n[https://www.neurodesk.org/](https://www.neurodesk.org/)\n\n### Neurodocker\n\n[https://github.com/ReproNim/neurodocker](https://github.com/ReproNim/neurodocker)  \n[https://hub.docker.com/r/kaczmarj/neurodocker/](https://hub.docker.com/r/kaczmarj/neurodocker/)\n\n### SPM BIDS-App\n\nhttps://github.com/BIDS-Apps/SPM`](https://github.com/BIDS-Apps/SPM)  \n[https://hub.docker.com/r/bids/spm/](https://hub.docker.com/r/bids/spm/)\n\n### MATLAB Dockerfile\n\n[https://github.com/mathworks-ref-arch/matlab-dockerfile](https://github.com/mathworks-ref-arch/matlab-dockerfile)\n\n### Singularity\n\n[SingularityCE User Guide](https://sylabs.io/guides/3.8/user-guide/)\n\n```bash\nsudo singularity build spm12.sif spm12-octave.def\nsingularity exec spm12.sif\n./spm12.sif --help\n```\n\n([how to install singularity on\nUbuntu](https://github.com/hpcng/singularity/issues/5390#issuecomment-899111181))\n\n### [Docker Hub](https://hub.docker.com/r/spmcentral/spm/) (deprecated)\n\nSPM Docker images used to be hosted on Docker Hub but this is now deprecated and the GitHub Packages Container Registry should be used instead.\n\n```bash\ndocker pull spmcentral/spm:latest\ndocker pull spmcentral/spm:octave\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspm%2Fspm-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspm%2Fspm-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspm%2Fspm-docker/lists"}