You can build a sample IBM® App Connect Enterprise Docker image.
To run IBM App Connect
Enterprise in a
Docker container, you must first build a base image containing an
installation of IBM App Connect
Enterprise, by following
the steps described in this topic. You can, alternatively, download
an image of the IBM App Connect
Enterprise for
Developers edition
from https://hub.docker.com/r/ibmcom/ace/ and use this to run a Docker
container.
A Dockerfile is a set of instructions for building
a Docker image. Images can be stored in local or remote registries,
and are used to create a running Docker container. To build the image,
Docker executes the instructions in the Dockerfile. Each instruction
causes a new image layer to be created. Docker best practice guidelines
recommend that you keep the number of Dockerfile instructions to a
minimum, because the number of layers in an image might be limited.
The guidelines, which are available at https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices, suggest that you “find
the balance between readability (and thus long-term maintainability)
of the Dockerfile and minimizing the number of layers it uses. Be
strategic and cautious about the number of layers you use.”
The
following GitHub repository contains a Dockerfile and some additional
files that show how you can build an IBM App Connect
Enterprise Docker
image: https://github.com/ot4i/ace-docker.
The following steps show how to build a sample base image and an extended image with a running application, by using scripts that are hosted on GitHub: