Public Repository

Last pushed: 2 years ago
Short Description
IBM DB2 Express-C
Full Description

IBM® DB2® Express-C is a no-charge community edition of DB2 database software, which provides the core features of more scalable DB2 editions. It is designed for ease of use and fast setup, and is ideal for academia, small businesses and multi-branch companies.

This version of IBM DB2 Express-C was made for a project done during the Architettura dei Sistemi Software exam ( of the RomaTre University, held by professor Luca Cabibbo.
The application developed for this project can be found at:

This docker image is meant to be used in conjunction with docker-compose(
This is a portion of the docker-compose.yml file used:

 version: '2'
     image: pheasanthunters/db2express-c:latest
     privileged: true    
       - "50000:50000"
     command: /

The script solves a known problem of DB2 Epress-C docker images related to kernel.shmmax value and create a database called dbASW (used for the project mentioned above).
This is the full / script:

 sudo sysctl kernel.shmmax=18446744073692774399
 /bin/su -s /bin/bash -c '. ~db2inst1/sqllib/db2profile;db2start;db2 create database dbASW' db2inst1
 tail -f /dev/null

Is it possible to edit the script to let it create your own database or simply login as db2inst1, drop dbASW and create a new database.

This docker image was created by:

IBM DB2 Express-C is a property of IBM. Any further informations can be found at:

Docker Pull Command