Using Docker Build
Follow these steps, to build the TDV Docker Images using the docker build command:
| 1. | Download the docker container files Dockerfile.tdv, Dockerfile.tdv.repo, Dockerfile.tdv.cache and TIB_tdv_<TDV_VERSION>_docker.tar.gz on your instance for building Docker images. The edelivery has separate archive files for each distribution. This archive is only for the Docker distribution. |
| 2. | You should also download the md5 checksum files in order to validate the integrity of these files. |
Example:
md5sum -c Dockerfile.tdv.md5
md5sum -c TIB_tdv_<TDV_VERSION>_docker.tar.gz.md5
| 3. | Goto to the location where you have downloaded the TDV Docker files (Dockerfile.tdv, Dockerfile.tdv.repo, Dockerfile.tdv.cache) and tar.gz file and run the Docker build command as shown below. |
Generic example:
$ docker build -t <your-docker-repo-name>/<image_name>[:<image-tag>] -f Dockerfile.tdv
TDV default build example: (default TDV base port 9400 and default TDV server memory 7 GB):
$ docker build -t myrepo/tdvrepo:<TDV_VERSION> -f Dockerfile.tdv.repo
$ docker build -t myrepo/tdvcache:<TDV_VERSION> -f Dockerfile.tdv.cache
$ docker build -t myrepo/tdv:<TDV_VERSION> -f Dockerfile.tdv