Official IBM image containing IBM Integration Bus for Developers and IBM MQ Advanced for Developers
10K+
The image in this repository contains IBM Integration Bus for Developers and IBM MQ Advanced for Developers. The scripts used to build the image can be found on GitHub. See the license section below for restrictions relating to the usage of this image.
In order to run a container from this image, it is necessary to accept the terms of the IBM Integration Bus for Developers license. This is achieved by specifying the environment variable LICENSE equal to accept when running the image. You can also view the license terms by setting this variable to view. Failure to set the variable will result in the termination of the container with a usage statement. You can view the license in a different language by also setting the LANG environment variable.
The built image contains a full runtime installation of IBM Integration Bus for Developers and also IBM MQ Advanced for Developers (this is MQ Server allows a queue manager to be defined and run).
The image can be built using standard Docker commands against the supplied Dockerfile. You can find the Dockerfile in this Github Repository
This repository contains a Dockerfile and some scripts which demonstrate a way in which you might run IBM Integration Bus in a Docker container.
This repository also contains a Dockerfile and some scripts which demonstrate a way in which you might run IBM Integration Bus with an [IBM MQ] Server(http://www-03.ibm.com/software/products/en/ibm-mq).
If you wish to build the image with an MQ install, then run something like the following:
cd 10.0.0.11/iib-mq-server
docker build -t iib-mq-image .
The built image contains a full installation of IBM Integration Bus for Developers Edition V10.0. If you install the stand-alone image, which does not contain an installation of IBM MQ, some functionality may not be available, or may be changed - see this topic for more information.
After building a Docker image from the supplied files, you can run a container which will create and start an Integration Node to which you can deploy integration solutions.
In order to run a container from this image, it is necessary to accept the terms of the IBM Integration Bus for Developers license. This is achieved by specifying the environment variable LICENSE equal to accept when running the image. You can also view the license terms by setting this variable to view. Failure to set the variable will result in the termination of the container with a usage statement. You can view the license in a different language by also setting the LANG environment variable.
In addition to accepting the license, you can optionally specify an Integration Node name using the NODENAME environment variable and an Integration Server name using the SERVERNAME environment variable. If using the image with MQ, you can also specify a Queue Manager name using the MQ_QMGR_NAME environment variable.
The last important point of configuration when running a container from this image, is port mapping. The Dockerfile exposes ports 4414 and 7800 by default, for Integration Node administration and Integration Server HTTP traffic respectively. This means you can run with the -P flag to auto map these ports to ports on your host. Alternatively you can use -p to expose and map any ports of your choice. The same applies to the image with MQ where the additional port exposed by default is 1414 for the MQ listener.
For example:
docker run --name myNode -e LICENSE=accept -e NODENAME=MYNODE -e SERVERNAME=MYSERVER -P iibv10image
If you wish, you can also deploy an IBM Integration Bus BAR file by specifying a Docker volume which makes the BAR file(s) available when the container is started:
docker run --name myNode -v /local/path/to/BARs:/tmp/BARs/<yourbars> -e LICENSE=accept -e NODENAME=MYNODE -e SERVERNAME=MYSERVER -P iibv10image
This will run a container that creates and starts an Integration Node called MYNODE and exposes ports 4414 and 7800 on random ports on the host machine. At this point you can use:
docker port <container name>
to see which ports have been mapped then connect to the Node's web user interface as normal (see [verification](# Verifying your container is running correctly) section below).
The above example will not persist any configuration data or messages across container runs. In order to do this, you need to use a volume. For example, you can create a volume with the following command:
docker volume create qm1data
You can then run a queue manager using this volume as follows:
docker run --name myNode -e LICENSE=accept -e NODENAME=MYNODE -e SERVERNAME=MYSERVER -e MQ_QMGR_NAME=QM1 -v qm1data:/mnt/mqm -P iibv10image
The Docker image always uses /mnt/mqm for MQ data, which is correctly linked for you under /var/mqm at runtime. This is to handle problems with file permissions on some platforms.
You can customize the configuration in several ways:
/etc/mqm directory on the image. This file will be run when your queue manager is created.Note that a listener is always created on port 1414 inside the container. This port can be mapped to any port on the Docker host.
You can run any of the Integration Bus commands using one of two methods:
Attach a bash session to your container and execute your commands as you would normally:
docker exec -it <container name> /bin/bash
At this point you will be in a shell inside the container and can source mqsiprofile and run your commands.
Use Docker exec to run a non-interactive Bash session that runs any of the Integration Bus commands. For example:
docker exec <container name> /bin/bash -c mqsilist
It is recommended that you configure MQ in your own custom image. However, you may need to run MQ commands directly inside the process space of the container. To run a command against a running queue manager, you can use docker exec, for example:
docker exec -it <container name> dspmq
Using this technique, you can have full control over all aspects of the MQ installation. Note that if you use this technique to make changes to the filesystem, then those changes would be lost if you re-created your container unless you make those changes in volumes.
This image also configures syslog, so when you run a container, your node will be outputting messages to /var/log/syslog inside the container. You can access this by attaching a bash session as described above or by using docker exec. For example:
docker exec <container id> tail -f /var/log/syslog
Whether you are using the image as provided or if you have customised it, here are a few basic steps that will give you confidence your image has been created properly:
At this point, your container is running and you can deploy integration solutions to it using any of the supported methods.
accept to agree to the MQ Advanced for Developers license. If you wish to see the license you can set this to view.IIB.SVRCONN channel to become secured and only allow connections that supply a valid userid and password. Must be at least 8 characters long.The Dockerfile and associated scripts are licensed under the Eclipse Public License 1.0. Licenses for the products installed within the images are as follows:
LICENSE=view environment variable as described above.LICENSE=view environment variable as described above./usr/share/doc/${package}/copyrightNote that the IBM Integration Bus for Developers license does not permit further distribution. The IBM MQ Advanced for Developers license does not permit further distribution and the terms restrict usage to a developer machine.
For issues relating specifically to this Docker image, please use the GitHub issue tracker. For more general issues relating to IBM Integration Bus you can get help through the IBM dWAnswers IBM Integration Bus Forum
Content type
Image
Digest
Size
966.3 MB
Last updated
over 8 years ago
docker pull ibmcom/iib-mq-server