You can build a sample IBM® Integration Bus and IBM MQ Server image, using Docker.
You can use the Dockerfiles and supporting scripts to get started with combining IBM integration and messaging technology with Docker, or you can customize them and incorporate them into more complex develop, test, and deploy scenarios.
If you want to run IBM Integration Bus with a default queue manager (through a local MQ server bindings connection), both IBM Integration Bus and IBM MQ must run in the same container. To achieve this, you can create an image that contains installations of both products.
FROM mq:8006
The IBM Integration Bus and MQ Dockerfiles published on GitHub each download Developer Editions of the respective products via HTTP. However, you can also run your own licensed editions by obtaining the installation images from a local repository, through a secure protocol such as SSH, for example. You can choose to copy the installation binaries from the local filesystem to the image (by using the COPY instruction), but this is not advisable because doing so can result in large images containing files that you no longer need but cannot easily remove. This situation can occur because the COPY instruction in a Dockerfile creates a new filesystem layer, and subsequent attempts to remove the file that was copied can hide it without releasing the occupied space.
For
more information, see IBM Integration Bus and Docker:
Tips and Tricks.
Follow these steps to install and configure your licensed versions of IBM Integration Bus and IBM MQ: