On this page you may get guidelines on running TimeBase in Docker container
Click Tag to Display Pages: deployment

Example of running TimeBase Docker container:

docker run --rm --detach --name docker-image-test-tb -p 8011:8011
--mount type=bind,readonly,src=/home/deltix/QuantServer/inst.properties,dst=/timebase-server/inst.properties
--mount type=volume,src=my-qshome-vo,dst=/timebase-home
packages.deltixhub.com:443/quantserver.docker/timebase/server:5.3.10

Example script that creates a volume and populates it with provided files:

docker volume create my-qshome-vol
docker container create --name temp-dummy-container -v my-qshome-vol:/root alpine
docker cp /home/my_files/my_qs_home_source/. temp-dummy-container:/root/
docker rm temp-dummy-container

To delete a container:

docker volume rm my-qshome-vol

Stopping TimeBase Docker container:

It's important to provide timeout to stop Timebase docker gracefully

docker stop -t 60 <containerId>

Starting from version 5.3 it is necessary to supply valid QuantServer license to run TimeBase container (or it will fail to start).

License is typically mounted as inst.properties under QuantServer installation directory /timebase-server/inst.properties.

This file has the following format: serial=<your serial number here>

Notes:

  • DELTIX_HOME is set to /timebase-server
  • QSHome is set to /timebase-home
  • Default service port is 8011
  • Volume docker-image-test-qshome-vol here contains usual QSHome structure.
  • Java system properties could be customized by setting JAVA_OPTS environment variable.