Building Tamino Docker Images

To run a Tamino database in a Docker container Tamino provides the script create_dockerimage.sh located at <INSTALL_ROOT>/Tamino/v1015/files to build the Docker images. Start the script by running the command ./create_dockerimage.sh <INSTALL_ROOT>.

Per default, a RedHat UBI18 docker base image is pulled from the Docker server upon which the Tamino docker image is built. Adapt the script if a different base image is required. For more information of the referenced image refer to RedHat Developer Site. Software AG is not responsible for the contents of this image.

To start a database within the thus started Docker container either create a new database when starting the container or provide a backup.

To create a new Tamino database pass the name of the database to-be to the container by using the environment variable CREATE_DB: docker run -d -p 3250:3250 --name inocontainer -e CREATE_DB=<dbname> taminoimage.

To create a Tamino database from an existing backup make sure the backup file has the same owner id and group id as the user that runs the database in the docker container (by default: 1724:1724) and mount the backup file into the directory /backup at the new container: docker run -d -p 3250:3250 -v <backupfile.1B0>:/backup/<backupfile.1B0> --name inocontainer taminoimage. Specify the absolute path for the existing backup. You can provide a new name for the database using the environment variable CREATE_DB.

To shut down the Docker container execute the shutdown script inside the Tamino container, i.e. docker exec -it inocontainer /bin/bash -c "/shutdown.sh".

To persist Tamino database container it is possible to mount your Tamino database containers into the mountpoint /data with docker run -d -p 3250:3250 --name inocontainer -v TaminoDB:/data taminoimage. Tamino administration is available via docker exec -it inocontainer /bin/bash. docker exec -it inocontainer /bin/bash lands at the system folder level. To execute inoadmin it is required to go to /Tamino/v1015/bin.