What is DB2?
IBM DB2 is a family of database server products developed by IBM.
These products all support the relational model, but in recent years some
products have been extended to support object-relational features and
non-relational structures, in particular XML.
Historically and unlike other database vendors, IBM produced a
platform-specific DB2 product for each of its major operating systems.
However, in the 1990s IBM changed track and produced a DB2 "common server"
product, designed with a common code base to run on different platforms.
Set of images
This image is part of a set of images to create your DB2 environment:
- db2-install: Download and install DB2/
- db2-instance: Configures the environment to create an instance
- db2inst1 (Without Dockerfile)
- db2-sample (Without Dockerfile)
This is the stack of images:
+----------------+ | db2-sample | <-- Sample database (db2sampl) +----------------+ | db2inst1 | <-- Default instance created (db2inst1:50000) +----------------+ | db2-instance | <-- Environment to create an instance +----------------+ | db2-install | <-- DB2 Express-C installed +----------------+
How to use this image
This image contains a created sample database on a DB2 instance called db2inst1 listening on port 50000.
This image is not created from a Dockerfile.
Instead, it uses a previous image (
) and then creates the sample database (
You can directly use this image by typing:
sudo docker run angoca/db2-sample
If you have any problems with or questions about this image, please contact us
through a GitHub issue.
You can also reach the mainteiner via Twitter
You are invited to contribute new features, fixes, or updates, large or small;
we are always thrilled to receive pull requests, and do our best to process them
as fast as we can.
Before you start to code, we recommend discussing your plans through a GitHub
issue, especially for more ambitious contributions.
This gives other contributors a chance to point you in the right direction,
give you feedback on your design, and help you find out if someone else is
working on the same thing.