``IBM DB2 Express-C``` is the no-charge community edition of DB2 server, a simple, flexible, powerful, and reliable relational database server. It is easy to install, embed, deploy, and available for download, deployment, and redistribution at no chargehtml
IBM DB2 Express-C
is available for download and deployment at no charge. Optional yearly subscription is available for users who require technical support or additional functionality, such as High Availability, Row and Column Access Control and SQL Replication.linux
DB2 for Linux, UNIX and Windowsgit
DB2 Express-Cgithub
[Resource Center](http://www-01.ibm.com/software/data/db2/linux-unix-windows/library.html#Information centers)redis
latest
(```10.5.0.5-3.10.0``)10.5.0.5-3.10.0
,The supported tags stands for <db2 version> - <Linux kernel version of Docker Engine>. DB2 Docker images can be deployed on a Docker Engine with any flavour of Linux , as long as it has the compatible Linux ``kernel-3.10.0, likeCentOS 7``` respectively.docker
Download Docker Toolbox for Mac or Docker Toolbox for Windows(patched,v1.8.1d), and install on your laptopexpress
Instructions for Windows Instructions for Macwindows
This docker image has to be deployed to Docker Engine on one of supported Cloud providers or your own system. The instructions for creating Docker Engine vary by Cloud provider. We recommend to use [Docker Machine (beta)] (https://docs.docker.com/machine/) to provision Docker Engine.bash
In order to use the image, it is necessary to accept the terms of the DB2 Express-C license. This is achieved by specifying the environment variable LICENSE equal to accept when running the image.app
This docker image contained pre-deployed DB2 Express-C with the default DB2 instance, db2inst1.
1 - Start a container
docker run -it -p 50000:50000 -e DB2INST1_PASSWORD=db2inst1-pwd -e LICENSE=accept ibmcom/db2express-c:latest bash
2 - Start DB2 and create sample DB Please switch to the default db2 instance user db2inst1 to start DB2 instance and create a sample database if you want :
$ su - db2inst1 $ db2start $ db2sampl
db2 create db <dbname>
command.3 - Note
docker run -d -p 50000:50000 -e DB2INST1_PASSWORD=db2inst1-pwd -e LICENSE=accept ibmcom/db2express-c:latest db2start
db2start
, db2 services start automatically and remote client can connect to it at port 50000
docker run -it -p 50000:50000 -e DB2INST1_PASSWORD=db2inst1-pwd -e LICENSE=accept -v $(pwd):/share ibmcom/db2express-c:latest bash
/opt/ibm/db2/V10.5
The Dockerfile and associated scripts are licensed under the Apache License 2.0. DB2 Express-C is licensed under the IBM International License Agreement for Non-Warranted Programs. This license for DB2 Express-C can be found online. Note that this license does not permit further distribution.