Git Product home page Git Product logo

neuro_docker's Introduction

Ubuntu Dockerfile

This repository contains a Dockerfile of Ubuntu for NeuroImaging.

It sets up NeuroDebian and installs:

  • fsl-complete
  • AFNI
  • VTK
  • ITK and SimpleITK (the code for this is commented for now)
  • DCM2NIIX
  • PETPVC
  • ANTs
  • SPM12 with MCR
  • Python and the NiPy tools
  • Neurita/boyle and pypes

Base Docker Image

Installation

  1. Install Docker.

  2. Clone this repository and cd into it.

    git clone https://github.com/Neurita/neuro_docker.git
    
    cd neuro_docker
  3. Build the docker image.

    docker build -t="dockerfile/neuro" .

Usage

After a successful installation, you can run the docker container and run your analysis.

docker run -it dockerfile/neuro

Data sharing

If you want to share with the container a folder path with data, you can run the following command:

docker run -it -v <host_path>:<guest_path> dockerfile/neuro

For example, if you have some data in /media/data/brains and you would like it to be accessible in the container in /data. You should run:

docker run -it -v /media/data/brains:/data dockerfile/neuro

The Conda Python environment

This Dockerfile will setup a Conda Python environment with the Python dependencies for Pypes.

Once inside the container, to start using the Conda Python environment run:

source activate

Installing more Debian packages

The Dockerfile clears up the apt repository index after installing the needed dependencies.

If you want to install more packages, first you have to recreate this index. To do this, run:

apt-get update

Notes

Remember to add the --rm flag to the docker run command if you don't want to store a new container after exiting it. This will save you disk space.

Have a better understanding of the docker run command by running:

docker run --help

neuro_docker's People

Contributors

alexsavio avatar erramuzpe avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.