Docker

Regular deployment

  • Download the SIGNIUS Sealing Client installation package from the official website or using the link provided by the manufacturer.

  • Add docker image to Your repository

    • schema:

      • docker load -i <docker_image_file>

    • example:

      • docker load -i sseal_client_image_v1.5.1.tar

  • Build and run container (alternatively can be done with docker compose)

    • schema:

      • docker run -itd --name <docker_container_name> <docker_image:tag>

    • example:

      • docker run -itd --name signius-sealing-client-container sseal-client-image:v1.5.1

  • *Copy files to host (useful for setting up docker compose later)

    • schema:

      • docker cp <docker_container_name>:<container_file_location> <location_on_host>

    • example (signius_log.txt will be needed for generating license and appsettings.json for configuration):

      • docker cp signius-sealing-client-container:/usr/local/bin/start.sh ./start.sh

      • docker cp signius-sealing-client-container:/opt/sseal/client/appsettings.json ./appsettings.json

      • docker cp signius-sealing-client-container:/opt/sseal/client/signius_log.txt ./signius_log.txt

  • Stop container

    • schema:

      • docker stop <docker_container_name>

    • example:

      • docker stop signius-sealing-client-container

  • Remove container

    • schema:

      • docker rm <docker_container_name>

    • example:

      • docker rm signius-sealing-client-container

Quick deployment

  • Download attached bash script file

  • Change <version> value in the script to version number from installation package (docker image file) received from manufacturer

  • Save changes

  • Run bash script file using below command:

    • bash -x initialbuild.sh

Provided script does essentially the same actions as steps described in "Regular initialization" with one minor difference - sleep (10s) step before collecting signius_logs.txt to ensure correct log collection.

Script needs to be in the same location as docker image file (.tar).

License generation

  • Once initialization is complete copy Hardware ID from signius_log.txt

  • send the copied Hardware ID to the software supplier (Vendor) to generate a license.

  • Once you have received your license file, please follow the provider's instructions to activate SIGNIUS Sealing Client.

Software activation

  • After receiving the license file, return to the SIGNIUS Sealing Client root directory (directory with image, configuration and log files).

  • Place license file in the SIGNIUS Sealing Client root directory.

Setting up container

  • Create and adjust docker-compose.yml file

    • nano docker-compose.yml

content example:

docker-compose.yml
version: '3.8'

services:
  sseal_client:
    image: sseal-client-image:<tag/version>  # Use the pre-built image
    container_name: sseal-client-container
    volumes:
      - ./client/appsettings.json:/opt/sseal/client/appsettings.json
      - ./client/sseal_client.license:/opt/sseal/client/sseal_client.license
      - ./client/processes:/opt/sseal/processes
      - ./client/start.sh:/usr/local/bin/start.sh
    ports:
      - 8089:8089
  • build and run container with compose in detached mode (from the directory where docker-compose.yml is located)

    • docker compose up -d

Last updated