IBM provides a docker container for Informix innovator-c free version. This includes an informix ready to use intance running on an embebbed Linux Moby.
1 Informix innovator
Let's download and run the container to start a Informix engine.
- Pull container image
Copy
$ docker pull ibmcom/informix-innovator-c
- Install informix containter
Copy
$ docker run -it --name iif_innovator_c --privileged -p 9088:9088 -p 9089:9089 -p 27017:27017 -p 27018:27018 -p 27883:27883 -e LICENSE=accept ibmcom/informix-innovator-c:latest
IDS-12.10 dev:
- Exit informix container
Copy
IDS-12.10 dev: exit
>>> Stopping the listeners... >>> Stopping the IBM Informix Database (dev) ...
- Start informix container
Copy
$ docker start iif_innovator_c
iif_innovator_c
- List active containers
Copy
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 64e4b4e9c09e ibmcom/informix-innovator-c:latest "/bin/bash informi..." 14 minutes ago Up 23 seconds 0.0.0.0:9088-9089->9088-9089/tcp, 0.0.0.0:27017-27018->27017-27018/tcp, 0.0.0.0:27883->27883/tcp iif_innovator_c
- Attach informix container
Copy
$ docker attach 64e4b4e9c09e
IDS-12.10 dev: ^C >>> Stopping the listeners... >>> Stopping the IBM Informix Database (dev) ...
-
Copy
$ docker exec -it iif_innovator_c bash
IDS-12.10 dev:
- Run onstat to see instance is running.
Copy
IDS-12.10 dev: onstat
IBM Informix Dynamic Server Version 12.10.FC9IE -- On-Line -- Up 00:01:31 -- 148084 Kbytes Userthreads address flags sessid user tty wait tout locks nreads nwrites 44c9e028 ---P--D 1 informix - 0 0 0 23 11 44c9e900 ---P--F 0 informix - 0 0 0 0 7 44c9f1d8 ---P--F 0 informix - 0 0 0 0 0 44c9fab0 ---P--F 0 informix - 0 0 0 0 0 ...
- Run onstat -d to see instance storage.
Copy
IDS-12.10 dev: onstat -d
IBM Informix Dynamic Server Version 12.10.FC9IE -- On-Line -- Up 00:06:54 -- 156276 Kbytes Dbspaces address number flags fchunk nchunks pgsize flags owner name 44bb4028 1 0x1 1 1 2048 N BA informix rootdbs 1 active, 2047 maximum Chunks address chunk/dbs offset size free bpages flags pathname 44bb4268 1 1 0 150000 85031 PO-BE- /home/informix/data/spaces/rootdbs.000 1 active, 32766 maximum
Here we have an Informix instance ready to be configured