- Install unixodbc:
$ sudo aptitude install unixodbc unixodbc-bin unixodbc-dev
- Download
dsdriver
and install:
$ ls ~/Downloads/ibm_data_server_driver_package_linuxx64_v11.5.tar.gz
/home/ken/Downloads/ibm_data_server_driver_package_linuxx64_v11.5.tar.gz
$ sudo ./install-dsdriver.sh
- Copy ODBC and CLI configs:
$ cat odbcinst.ini | sudo tee -a /etc/odbcinst.ini
$ sudo cp {db2cli.ini,db2dsdriver.cfg} /opt/db2/clidriver/cfg/
- Run DB2 docker image:
$ ../docker-run.sh db2 -u
- Verify DB2 working:
$ ./db2cli-validate.sh