The following examples require initialization described in [Demonstrate using Docker].
To use the Senzing code, you must agree to the End User License Agreement (EULA).
-
⚠️ This step is intentionally tricky and not simply copy/paste. This ensures that you make a conscious effort to accept the EULA. Example:export SENZING_ACCEPT_EULA="<the value from this link>"
Senzing follows the [Linux File Hierarchy Standard].
Environment variables will be used in --volume options to externalize the installations.
-
✏️ Specify the directory where to install Senzing. Example:
export SENZING_VOLUME=~/my-senzing⚠️ macOS - [File sharing MacOS] must be enabled forSENZING_VOLUME.⚠️ Windows - [File sharing Windows] must be enabled forSENZING_VOLUME.
-
Run Docker container. Example:
docker run \ --env SENZING_ACCEPT_EULA=${SENZING_ACCEPT_EULA} \ --rm \ --user 0 \ --volume ${SENZING_VOLUME}:/opt/senzing \ senzing/apt install -y senzingsdk-runtime
By not setting SENZING_ACCEPT_EULA_PARAMETER, the containerized yum install will prompt for manual EULA acceptance.
-
Run Docker container. Example:
sudo docker run \ --interactive \ --rm \ --tty \ --volume ${SENZING_VOLUME}:/opt/senzing \ senzing/apt install -y senzingsdk-runtime
senzing/apt can be used to install local DEB files.
-
To download Senzing DEB file, see [github.com/Senzing/docker-aptdownloader].
-
✏️ Set additional environment variables. Identify directory containing DEB files and the exact names of the DEB files. Example:
export SENZING_DEB_DIR=~/Downloads export SENZING_API_DEB_FILENAME=senzingsdk-nn.nn.nn.x86_64.rpm export SENZING_DATA_DEB_FILENAME=senzingdata-v1-nn.nn.nn.x86_64.rpm
-
Run the Docker container. Example:
sudo docker run \ --env SENZING_ACCEPT_EULA=${SENZING_ACCEPT_EULA} \ --rm \ --volume ${SENZING_VOLUME}:/opt/senzing \ --volume ${SENZING_DEB_DIR}:/data \ senzing/apt -y localinstall \ /data/${SENZING_DATA_DEB_FILENAME} \ /data/${SENZING_API_DEB_FILENAME}