Using a container

Prepare

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.

Verify

To verify the Docker setup, run the default Integrity server:

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

docker run -p 8080:8080 --detach --name integrity fortifiedid.jfrog.io/docker/fortifiedid/integrity:<version> -c Node config/config.json

Parameter explanation:

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

docker logs -f integrity

Finally, check that the server is up and running by pointing your browser at http://localhost:8080

Restart

Stop, start and restart are handled by Docker commands.