Build and Run a Docker Image

ForgeRock delivers a Dockerfile inside IG-7.0.2.zip, to help you build a base Docker image for IG. After building and running the base image, add a configuration as described in Add Configuration to a Docker Image.

The Dockerfile builds a base Docker image with the following characteristics:

  • The Docker image runs on Linux and Mac operating systems.

  • IG binaries are delivered in /opt/ig.

  • The environment variable $IG_INSTANCE_DIR has the value /var/ig.

  • A ForgeRock user with username:forgerock and uid:11111, runs the IG process and owns the configuration files.

The following sections describe how use the Dockerfile to build a base image for IG:

Read a different version of :