Child pages
  • Developing Against DB2

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. docker pull ibmcom/db2express-c:10.5.0.5-3.10.0
  2. docker run -—name-name db2 -v ~/work/openidm:/openidm -it -p 50000:50000 -e DB2INST1_PASSWORD=db2inst1 -e LICENSE=accept ibmcom/db2express-c:10.5.0.5-3.10.0 bash
  3. Once inside container:
        $ su - db2inst1
        $ db2start
        $ db2 create database dopenidm
        $ db2 -i -tf /openidm/openidm-samples/repo-config/src/main/resources/db2/scripts/openidm.sql


  4. Configure IDM to point to the DB2 repo pointing to localhost:50000

  5. Update your username and password in datasource.jdbc-default.json to be db2inst1 (same value for both username and password)

...