Skip to content

Fortified IDDocs

Container

Instructions for running a Fortified ID product from a container image

Use the container installation method when the product should run from a Docker image. This method is suitable for environments where container images are already used for deployment, versioning, and rollback.

Begin by obtaining authentication credentials from your Fortified ID representative. Use the credentials to log in to the FortifiedID Docker Registry by any available method, see here for instructions on Unix/Linux and Windows.

Example for Unix/Linux:

Transfer the token from customer_access_credentials.json to password.txt:

  1. Open the customer_access_credentials.json file that you have received.
  2. Locate and copy the access_token value.
  3. Open or create the password.txt file.
  4. Paste the access_token value into password.txt.
  5. Replace <username> with your username that you have received in the following command and execute it.
cat ./password.txt | docker login fortifiedid.jfrog.io --username <username> --password-stdin

Depending on your system configuration, you may need to run the logon command with different user rights, such as the root user and the current user account.

To verify the Docker setup, run the server:

Replace <container_display_name> with the container name and replace <product_name>:<version> with the image product name and version.

docker run --detach --name <container_display_name> fortifiedid.jfrog.io/docker/fortifiedid/<product_name>:<version> -c Node config/config.json

Parameter explanation:

-cDirect system output to stdout.
NodeStart the Node module.
config/config.jsonUse the given configuration file. Path is relative to SERVER_HOME inside the container.

Check the log to ensure that the server was successfully bootstrapped:

docker logs -f <container_display_name>