Public Repository

Last pushed: 15 hours ago
Short Description
A container with the library system Koha.
Full Description

The digibib/koha image is built based on specific revisions in

There will be a tag for each git-revision. (This could have been an automated build if tagging each build was a possibility.)

Using docker/koha:latest will result in an old image as they are not linked to tags

Using the Koha Docker image

Download image from Docker Hub Registry

docker pull digibib/koha:[tag/revision]

The tag/revision should correspond to the git revisions in the git repository.

Starting a Koha Docker container

docker run -d --name koha_docker \ -p 6001:6001 -p 8080:8080 -p 8081:8081 \ -t digibib/koha:[tag/revision]

The tag/revision is as above.

It takes a little while for the Koha startup to complete.

Accessing Koha

Starting Koha as explained above makes the OPAC available on port 8080 (http) and Intra on port 8081 (http). The SIP-server is available on port 6001 (tcp).


You should set credentials for the Koha instance database user on container startup (to avoid default values), you can also set the Koha instance name, and SIP-server settings :

docker run -d --name koha_docker \ -p 6001:6001 -p 8080:8080 -p 8081:8081 \ -e KOHA_INSTANCE=[koha instance name, default: name] \ -e KOHA_ADMINUSER=[db admin user name, default: admin] \ -e KOHA_ADMINPASS=[db admin password, default: secret] \ -e SIP_WORKERS=[no of workers, default: 3] \ -e SIP_AUTOUSER1=[username, default: autouser] \ -e SIP_AUTOPASS1=[password, default: autopass] \ -t digibib/koha

External MySql

Using a linked mysql container is easy. We recommend using docker-compose.
The linked mysql container needs to exist on same docker network or have an exposed port on host and be named koha_mysql in the network.


Log entries from a number of logs will be concatenated into standard out and can be seen using:
docker logs koha_docker

The logs tailed to standard out:

Docker Pull Command