Configure profiles in Docker
For Docker container installations, you need to create a profile using a Windows installation, export it, and import it into your container.
The version of the Conversion Service installed on Windows and the version of the container image must match.
If you need to update to a new version, update the Windows service first as this automatically updates the configured profiles if necessary.
Make sure that all configuration values are valid in your Docker environment, i.e. URLs to services and paths to configuration files.
Alternatively, configure profiles using the web application Configurator Web. It is in the beta version and doesn’t support all the Windows Conversion Service Configurator capabilities. You can find more information in the Configure profiles using Configurator Web section.
Set a profile when starting the Docker container
The file ProfileExport-‹x›.‹y›.‹z›.export (where ‹x›.‹y›.‹z› is the version number of the service) containing the exported profiles must be made available in the container. To import the profiles on service startup, you need to set the IMPORT_PROFILES
environment variable.
Import profiles only
This simple profile configuration imports the file ProfileExport-‹x›.‹y›.‹z›.export only, which is typically sufficient.
Bind ProfileExport-‹x›.‹y›.‹z›.export
to the container and set the environment variable IMPORT_PROFILES
to activate the profile import:
docker run -dp 13033:13033 --network conversion-service \
--mount "type=bind,src=C:\path\to\ProfileExport-3.11.0.export,\
dst=/etc/convsrv/ProfileExport.export,readonly" \
-e IMPORT_PROFILES=/etc/convsrv/ProfileExport.export \
-e LICENSEKEY=4H-V4-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX \
pdftoolsag/conversion-service:3.11.0
When importing profiles of a workflow, you also import the Workflow state, whether the workflow is activated or deactivated.