Pulling a custom Docker image from an authenticated repository
You can create a custom start script to configure the TERR service to log in to a remote authenticated repository and pull a custom Docker image.
This option is available if you want to specify a base image for the docker container, but it is in a repository that requires authentication to access. To set the appropriate authentication credentials, you can execute a Docker login command when you start the service, but before starting the Docker container, as part of a startup hook script.
This task demonstrates accessing a Docker image stored in the AWS Elastic container Registry, which is an authenticated repository.
Procedure
What to do next
If problems occur, troubleshoot by examining the Dockerfile that the TERR service writes. After the service runs, this Dockerfile is available at the root service directory on the computer running the node manager. For example, /opt/tibco/tsnm/<server version_#>/nm/services/TERR service Linux-<version_#_ID>/dockerfile/Dockerfile
Copyright © TIBCO Software Inc. All rights reserved.