Pulling a Custom Docker Image from an Authenticated Repository
You can create a custom start script to configure Spotfire Service for Python to log in to a remote authenticated repository and pull a custom Docker image.
About this task
This task demonstrates accessing a Docker image stored in the AWS Elastic container Registry, which is an authenticated repository.
Before you begin
- You must have a Linux computer where the node manager is installed. (Your node manager and Spotfire Server can be on different computers).
Custom docker images for the Python service must contain the following.
- The Java 17 Runtime.
- The JAVA_HOME environmental variable, correctly defined.
ENV JAVA_HOME=</correct/path/to/java>
Procedure
What to do next
If problems occur, troubleshoot by examining the Dockerfile that Spotfire Service for Python 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/python-service-linux-<version_#_ID>/dockerfile/Dockerfile
Parent topic: Containerized Spotfire Service for Python