Public | Automated Build

Last pushed: 2 years ago
Short Description
IIP image server 1.0 with Grok 1.0, optimised fork of openjpeg
Full Description

Docker build of IIP Image Server 1.0 with Grok 1.0 on Ubuntu 14.04

A Dockfile deployment of IIP image server with optimized OPENJPEG, Grok @ and

Docker hub respository @

Build successes are logged @

IIIF validator v 1.0.0 @

Please also refer to and

Use pre-built image

Download image from docker hub. Defaults to latest tag. Docker will normally run as root unless otherwise configured.

$ sudo docker pull bdlss/iipsrv-grok-docker

To run the docker command without sudo, you need to add your user (who must have root privileges) to the docker group. To do this run following command:

$ sudo usermod -aG docker <user_name>

Build from scratch (optional)

Use local Dockerfile to build image. Defaults to latest tag.

$ sudo docker build -t bdlss/iipsrv-grok-docker .

Start the container

Defaults to latest tag.

$ sudo docker run -d -p 80:80 bdlss/iipsrv-grok-docker

This will push the docker container port 80 to your localhost port 80. Change the first parameter to 8080 if required (i.e. you already have a webserver running on your local machine).


The Dockerfile creates a /var/www/localhost/images/ directory and downloads a test JPEG2000 from and a test TIF from


Point your browser to http://localhost/fcgi-bin/iipsrv.fcgi?IIIF=67352ccc-d1b0-11e1-89ae-279075081939.jp2/full/full/0/default.jpg

Or http://localhost/fcgi-bin/iipsrv.fcgi?IIIF=PalaisDuLouvre.tif/full/full/0/default.jpg

To get to the container command line use:

docker ps
docker exec -it <container ID> /bin/bash

After starting the container, you can IIIF validate your images from the container command line:

To get to the container command line use:

sudo docker ps
sudo docker exec -it <container ID> /bin/bash

Then for an image served at http://localhost:8080/<prefix>/<image_id> the validator can be run with:

$ python /tmp/iiif-validator-1.0.0/ -s localhost:8080 -p <prefix> -i <image_id> --version=2.0 -v


$ python /tmp/iiif-validator-1.0.0/ -s localhost:80 -p "fcgi-bin/iipsrv.fcgi?IIIF=" -i 67352ccc-d1b0-11e1-89ae-279075081939.jp2 --version=2.0 -v

Documentation and examples

Further documentation and examples are available here

Docker Pull Command
Source Repository