ABBYY Licensing Service can work with only one Online License at the same time.
- your Customer Project ID
- an Online License token file
- the password to the license token file
- Active Internet connection
- Allowed connections to *.abbyy.com on port 443
- Download and install Docker for Windows on your machine as described on the official Docker website.
- Enable Hyper-V and Containers Windows features.
- Switch to Windows Containers using the Docker desktop menu.
-
Download an image of Windows to be installed into the container:
-
Create an empty directory and put into it:
- InstallerFolder — a directory with ABBYY FlexiCapture SDK distribution kit
-
TestAppFolder — a directory with
- Online License token file
- test application compiled to use this token file as well as the password to it and your Customer Project ID
- DeployFCSDK.cmd — a command-line script to install ABBYY FlexiCapture 12 SDK
- TestFCSDK.cmd — a command-line script to run the test application
-
Dockerfile — a file with the settings for the container to be created. This file must contain:
Licensing Service outside the container
ABBYY Licensing Service should be installed outside the container if all containers use one Online License.
Follow the instruction:- Make sure the network port on a machine with Licensing Service is opened in your firewall security settings (ABBYY Licensing Service uses 3024 port by default).
-
Make sure the LicensingSettings.xml file on a machine with Licensing Service contains the following settings:
-
Use the ABBYY FlexiCapture SDK 12 Runtime (x64).exe file to install ABBYY FlexiCapture 12 SDK at runtime on 64-bit Windows by specifying inside the DeployFCSDK.cmd the following command (the servername parameter is the host address where the Licensing Server is installed):
-
To run the test application, specify the following commands inside the TestFCSDK.cmd:
The TestFCSDK.cmd script will be run automatically after launching the container.
-
Open the command line and start the container building process:
-
Run this command to specify an image to derive the container from after the building process succeeds:
To make an Online License available for all containers you must run any application which uses this license on a machine with Licensing Service (see Developing online-licensed applications). If you have a problem connecting to ABBYY Licensing Service, please make sure your LicensingSettings.xml file in LibraryInstallationPath\ folder inside the container has these settings:
Licensing Service inside the container
To install the Licensing Service, refer to the Installing the Licensing Service. Follow the instruction:-
Use the ABBYY FlexiCapture SDK 12 Runtime (x64).exe file to install ABBYY FlexiCapture 12 SDK at runtime on 64-bit Windows by specifying inside the DeployFCSDK.cmd the following command:
-
To run the test application, specify the following command inside the TestFCSDK.cmd:
The TestFCSDK.cmd script will be run automatically after launching the container.
-
Open the command line and build an image from a container:
-
Run this command to create a container layer over the image and start it:
