Docker Deployment
We distribute our container images via the following container registries:
Images are Red Hat Certified and fully identical. The docreader
image is based on the official ubi9-minimal
image, maintained by Red Hat. The image is configured to be run as an arbitrarily assigned UID (OpenShift-ready).
Supported Version Tags
- A.B.C.D — stable release build
- A.B.C.D-develop — release candidate build
- nightly — nightly build for development purposes, must never be used in production
To obtain the latest SDK / document database / service wrapper version, pull the container image with the newest tag version according to the above-mentioned description.
For more information about versioning of the Document Reader SDK, please see Getting Started.
Installation
1. Install Docker Desktop for your OS following the link:
2. Start the Docker Desktop application.
3. Pull the Document Reader image to the local machine from one of the available distribution channels:
docker pull regulaforensics/docreader:latest
docker pull regulaforensics/docreader:latest
docker pull regulaforensics/docreader:latest
4. Run the container image by passing the license to it. You may either use the license file or the Base64 string.
Put the license file to your OS home directory:
C:\%HOMEPATH%\Desktop\regula.license
/home/<username>/regula.license
/Users/<username>/regula.license
Open the Command line and run the following command:
docker run -d -p 8080:8080 -v C:\%HOMEPATH%\Desktop\regula.license:/app/extBin/unix_x64/regula.license regulaforensics/docreader:latest
docker run -d -p 8080:8080 -v ~/regula.license:/app/extBin/unix_x64/regula.license regulaforensics/docreader:latest
docker run -d -p 8080:8080 -v ~/regula.license:/app/extBin/unix_x64/regula.license regulaforensics/docreader:latest
Alternatively, you can pass the license as Base64 string via the environment variable REGULA_LICENSE, rather than using the path to the license file:
docker run -d -p 8080:8080 -e REGULA_LICENSE="<BASE64_STRING>" regulaforensics/docreader:latest
docker run -d -p 8080:8080 -e REGULA_LICENSE="<BASE64_STRING>" regulaforensics/docreader:latest
docker run -d -p 8080:8080 -e REGULA_LICENSE="<BASE64_STRING>" regulaforensics/docreader:latest
where <BASE64_STRING>
is your license in the Base64 format.
5. To make sure that the service is up and running, check the http://localhost:8080 address in a web browser.
FAQ
Does Docker Desktop support Windows Server?
Docker Desktop doesn't support Windows Server version installation. See the corresponding reference in the Docker documentation.
How to convert the license file to base64 format?
Have a look at the Regula Help Center article How to convert a license file to Base64 .
How to open Command Line / Terminal?
Press the WIN key, type cmd
, and press Enter.
Press the Ctrl + Alt + T key combination.
Have a look at the Apple's Terminal User Guide.