Skip to content

A Docker container with tools for cell microscopy image processing

License

Notifications You must be signed in to change notification settings

Neurita/microscopy_docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Docker container with tools for cell microscopy image processing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages