Skip to content

Minimal docker compose and script to bootstrap a DICOM server with a TCIA collection.

License

Notifications You must be signed in to change notification settings

oncoramedical/tcia_bootstrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TCIA Bootstrap

Introduction

A small docker set up to pull TCIA collections into a DICOM server.

Pre-requisites

Make sure that the following are installed:

  1. Docker
  2. Docker compose

Directions

TL;DR

docker-compose up
bash bootstrap.sh -h
bash bootstrap.sh -c <COLLECTION>

Running containers

Start the docker containers using the following:

docker-compose up

Running this command for the first time will build the DICOM server image. The resulting image will then be used when starting up containers.

To stop the containers either Ctrl-C or run the following:

docker-compose stop

Load collections

To see a full list of available collections run bash bootstraph.sh -h. There are two ways to load these collections:

  1. Specify the collection as the COLLECTION environment variable in docker-compose.yml for the DICOM container, restart: docker-compose restart dicom, and run bash bootstrap.sh

  2. Supply a collection name: bash bootstrap.sh --collection <COLLECTION>.

A few things to note

  • Loading a collection may take awhile
    • You can limit the number of series loaded using --limit <NUMBER>.
  • Multiple collections can be loaded
    • Just run the instructions for loading collections with new collection names
  • Loaded studies are accessible via DICOM messages or requests sent the DICOM container REST API

About

Minimal docker compose and script to bootstrap a DICOM server with a TCIA collection.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published