Public | Automated Build

Last pushed: 3 years ago
Short Description
VTK (version 6) on Ubuntu 14.04
Full Description

VTK in Docker

The Visualization Toolkit (VTK) by Kitware is a software system for 3D computer graphics, image processing, and visualization.
This repository aims at running VTK within a Docker image, benefiting from all Docker's advantages:

Rapid application deployment – containers include the minimal runtime requirements of the application, reducing their size and allowing them to be deployed quickly.

Portability across machines – an application and all its dependencies can be bundled into a single container that is independent from the host version of Linux kernel, platform distribution, or deployment model. This container can be transfered to another machine that runs Docker, and executed there without compatibility issues.

Version control and component reuse – you can track successive versions of a container, inspect differences, or roll-back to previous versions. Containers reuse components from the preceding layers, which makes them noticeably lightweight.

Sharing – you can use a remote repository to share your container with others. Red Hat provides a registry for this purpose, and it is also possible to configure your own private repository.

Lightweight footprint and minimal overhead – Docker images are typically very small, which facilitates rapid delivery and reduces the time to deploy new application containers.

Simplified maintenance – Docker reduces effort and risk of problems with application dependencies.

This repository contains a Dockerfile that builds VTK (version 6) on top of Ubuntu 14.04 following Kitware's instructions (VTK:Configure and Build Instructions) and inspired from Matt McCormick's Docker image:

A work in progress...

Still working on the GUI problem within Docker. Not a fully running VTK yet, but soon! ;)
The latest automated build from this repository build and compiles VTK with some tests failing (maybe due to the abscence of X server detected), and is available on DockerHub.


Building the Docker image from the Dockerfile

$ sudo docker build --rm -t patrickmerlot/vtk .

Running VTK within Docker

$ sudo docker run -ti patrickmerlot/vtk

Launch the test suite (Ctest)

Check the status of this build by yourself like so:

$ sudo docker run -ti patrickmerlot/vtk
root@15d49326bea0:/projects/VTK/BUILD-DEFAULT# ctest

VTK Example for testing


  • Testing
  • short tutorial/get-started
  • CDash Dashboard (nightly testing on various plateform)
  • VTK continuous delivery (using Wercker)
Docker Pull Command
Source Repository