{"id":49249380,"url":"https://github.com/senzing-garage/docker-installer","last_synced_at":"2026-04-24T23:35:50.163Z","repository":{"id":39585258,"uuid":"270003952","full_name":"senzing-garage/docker-installer","owner":"senzing-garage","description":"Dockerfile use to install Senzing in a non-root container.","archived":false,"fork":false,"pushed_at":"2026-03-02T13:59:58.000Z","size":256,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-03-02T17:23:03.570Z","etag":null,"topics":["dockerfile","helm-chart","kubernetes","senzing-garage","senzing-private","senzing-template-docker"],"latest_commit_sha":null,"homepage":"","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/senzing-garage.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-06-06T14:21:31.000Z","updated_at":"2026-03-02T14:00:00.000Z","dependencies_parsed_at":"2026-01-06T12:08:13.792Z","dependency_job_id":null,"html_url":"https://github.com/senzing-garage/docker-installer","commit_stats":null,"previous_names":["senzing-garage/docker-installer"],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/senzing-garage/docker-installer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/senzing-garage%2Fdocker-installer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/senzing-garage%2Fdocker-installer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/senzing-garage%2Fdocker-installer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/senzing-garage%2Fdocker-installer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/senzing-garage","download_url":"https://codeload.github.com/senzing-garage/docker-installer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/senzing-garage%2Fdocker-installer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32245150,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dockerfile","helm-chart","kubernetes","senzing-garage","senzing-private","senzing-template-docker"],"created_at":"2026-04-24T23:35:49.435Z","updated_at":"2026-04-24T23:35:50.157Z","avatar_url":"https://github.com/senzing-garage.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-installer\n\nIf you are beginning your journey with [Senzing],\nplease start with [Senzing Quick Start guides].\n\nYou are in the [Senzing Garage] where projects are \"tinkered\" on.\nAlthough this GitHub repository may help you understand an approach to using Senzing,\nit's not considered to be \"production ready\" and is not considered to be part of the Senzing product.\nHeck, it may not even be appropriate for your application of Senzing!\n\n## Synopsis\n\nCreate a docker image that can be used to install Senzing via a `cp` command.\n\n## Overview\n\nThis repository shows how to create a Docker image that has Senzing [baked-in].\nThe Docker container is used to copy the \"baked-in\" Senzing files to mounted volumes.\n\nThis alleviates the root container requirement seen in the [senzing/yum] Docker container.\n\n## Build Docker container\n\n### EULAs\n\nTo use the Senzing code, you must agree to the End User License Agreement (EULA).\n\n1. :warning: This step is intentionally tricky and not simply copy/paste.\n   This ensures that you make a conscious effort to accept the EULA.\n   Example:\n\n    \u003ccode\u003eexport SENZING_ACCEPT_EULA=\"\u0026lt;the value from [this link]\u0026gt;\"\u003c/code\u003e\n\n:thinking: If using the the Microsoft MS-SQL database,\nyou must agree to the Microsoft End User License Agreement (EULA).\nSee [MSSQL_ACCEPT_EULA].\n\n1. **Optional**\n   To install Microsoft's MS-SQL driver (`msodbcsql17`),\n   accept the Microsoft EULA.\n   Example:\n\n    ```console\n    export MSSQL_ACCEPT_EULA=Y\n\n    ```\n\n### Environment variables\n\n1. :pencil2: Identify the desired Senzing package.\n   Options:\n    - senzingsdk-poc\n    - senzingsdk-runtime\n    - senzingsdk-setup\n    - senzingsdk-tools\n\n   Example:\n\n    ```console\n    export SENZING_PACKAGE=senzingsdk-runtime\n\n    ```\n\n1. View the available versions of the Senzing package.\n   Example:\n\n    ```console\n    docker run --rm senzing/apt list -a ${SENZING_PACKAGE}\n\n    ```\n\n1. :pencil2: From the list in the prior command, choose the desired Senzing version, modify the following, and run.\n   Example:\n\n    ```console\n    export SENZING_PACKAGE_VERSION=\"4.0.0-00000\"\n\n    ```\n\n### Build image\n\n1. Run the `docker build` command.\n   Example:\n\n    ```console\n    sudo docker build \\\n        --build-arg ACCEPT_EULA=${MSSQL_ACCEPT_EULA:-no} \\\n        --build-arg SENZING_ACCEPT_EULA=${SENZING_ACCEPT_EULA:-no} \\\n        --build-arg SENZING_APT_INSTALL_PACKAGE=\"${SENZING_PACKAGE}=${SENZING_PACKAGE_VERSION}\" \\\n        --tag senzing/installer-${SENZING_PACKAGE}:${SENZING_PACKAGE_VERSION} \\\n        https://github.com/senzing-garage/docker-installer.git#main\n\n    ```\n\n## Run\n\n### Environment variables for runtime\n\n1. :pencil2: Identify the Senzing package and version from prior step.\n   Example:\n\n    ```console\n    export SENZING_PACKAGE=senzingsdk-runtime\n    export SENZING_PACKAGE_VERSION=\"4.0.0-00000\"\n\n    ```\n\n### Output directory\n\n1. :pencil2: Specify where to install Senzing on local system.\n   Example:\n\n    ```console\n    export SENZING_OPT_SENZING_DIR=~/${SENZING_PACKAGE}-${SENZING_PACKAGE_VERSION}\n\n    ```\n\n1. Make the output directory.\n   This ensures the correct ownership and permissions on the directory.\n   Example:\n\n    ```console\n    mkdir -p ${SENZING_OPT_SENZING_DIR}\n\n    ```\n\n### Run image\n\n#### Install only Senzing binaries\n\n1. Run the [docker run] command.\n   Example:\n\n    ```console\n    docker run \\\n        --rm \\\n        --volume ${SENZING_OPT_SENZING_DIR}:/opt/senzing \\\n        senzing/installer-${SENZING_PACKAGE}:${SENZING_PACKAGE_VERSION}\n\n    ```\n\n#### As different user\n\n:thinking: **Optional:**  The Docker container runs as \"USER 1001\".\nUse if a different userid (UID) is required.\nReference: [docker run --user]\n\n1. :pencil2: Identify user.\n    1. **Example #1:** Use specific UID. User \"0\" is `root`.\n\n        ```console\n        export SENZING_RUNAS_USER=\"0\"\n\n        ```\n\n    1. **Example #2:** Use current user.\n\n        ```console\n        export SENZING_RUNAS_USER=$(id -u):$(id -g)\n\n        ```\n\n1. Run the [docker run] command.\n   Example:\n\n    ```console\n    docker run \\\n        --volume ${SENZING_OPT_SENZING_DIR}:/opt/senzing \\\n        --user ${SENZING_RUNAS_USER} \\\n        senzing/installer-${SENZING_PACKAGE}:${SENZING_PACKAGE_VERSION}\n\n    ```\n\n#### Install Microsoft MS-SQL Drivers\n\n1. :pencil2: Specify where to install Microsoft drivers and Senzing configuration on local system.\n   Example:\n\n    ```console\n    export SENZING_OPT_MICROSOFT_DIR=${SENZING_OPT_SENZING_DIR}/microsoft\n\n    ```\n\n1. Make directories.\n   Example:\n\n    ```console\n    mkdir -p ${SENZING_OPT_MICROSOFT_DIR}\n\n    ```\n\n1. Run the [docker run] command.\n   Example:\n\n    ```console\n    docker run \\\n        --env SENZING_DEPLOY_OPT_MICROSOFT=true \\\n        --rm \\\n        --volume ${SENZING_OPT_SENZING_DIR}:/opt/senzing \\\n        --volume ${SENZING_OPT_MICROSOFT_DIR}:/opt/microsoft \\\n        senzing/installer-${SENZING_PACKAGE}:${SENZING_PACKAGE_VERSION}\n\n    ```\n\n### Parameters\n\nConfiguration values specified by environment variable or command line parameter.\n\n- **[SENZING_ACCEPT_EULA]**\n- **[SENZING_OPT_SENZING_DIR]**\n\n## References\n\n- [Development]\n- [Errors]\n- [Examples]\n\n[baked-in]: https://github.com/senzing-garage/knowledge-base/blob/main/WHATIS/baked-in.md\n[Development]: docs/development.md\n[docker run --user]: https://docs.docker.com/engine/reference/run/#user\n[docker run]: https://docs.docker.com/engine/reference/commandline/run/\n[Errors]: docs/errors.md\n[Examples]: docs/examples.md\n[MSSQL_ACCEPT_EULA]: https://github.com/senzing-garage/knowledge-base/blob/main/lists/environment-variables.md#mssql_accept_eula\n[Senzing Garage]: https://github.com/senzing-garage\n[Senzing Quick Start guides]: https://docs.senzing.com/quickstart/\n[SENZING_ACCEPT_EULA]: https://github.com/senzing-garage/knowledge-base/blob/main/lists/environment-variables.md#senzing_accept_eula\n[SENZING_OPT_SENZING_DIR]: https://github.com/senzing-garage/knowledge-base/blob/main/lists/environment-variables.md#SENZING_OPT_SENZING_DIR\n[Senzing]: https://senzing.com/\n[senzing/yum]: https://github.com/senzing-garage/docker-yum\n[this link]: https://github.com/senzing-garage/knowledge-base/blob/main/lists/environment-variables.md#senzing_accept_eula\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsenzing-garage%2Fdocker-installer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsenzing-garage%2Fdocker-installer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsenzing-garage%2Fdocker-installer/lists"}