Skip to content

Containers

Haley Clark edited this page Dec 4, 2021 · 3 revisions

DICOMautomaton can be built as a Docker image. This method automatically handles installation of all dependencies. The resulting image can be run interactively or accessed through a web server.

Pre-Built Docker Images

Docker containers are available in three variants: using Arch Linux, Debian, or Void Linux base images. Arch Linux and Void Linux provide the latest upstream packages, whereas Debian provides greater portability since an older glibc is used. Arch Linux builds use glibc whereas Void Linux builds use musl.

Build base images contain all dependencies and requirements necessary to compile DICOMautomaton, but may not themselves contain DICOMautomaton. The latest successfully-built base images are available from Docker Hub:

  • Arch Linux

  • Debian OldStable

  • Void Linux

  • MXE

Building Docker Images

In order to build the Docker image, you will need git, Docker, and a bash shell. On Windows systems the git shell should be used. To build the image:

 $>  git clone https://gitlab.com/hdeanclark/DICOMautomaton/ && cd DICOMautomaton/ # or
 $>  git clone https://github.com/hdclark/DICOMautomaton/ && cd DICOMautomaton/ # or
 $>  cd /path/to/source/directory
 $>  ./docker/build_bases/arch/build.sh
 $>  ./docker/builder/arch/build.sh

After building, the default web server can be launched using the convenience script:

 $>  ./docker/scripts/arch/Run_Container.sh

and a container can be run interactively with the convenience script:

 $>  ./docker/scripts/arch/Run_Container_Interactively.sh
Clone this wiki locally