Configuring a Custom Docker Image on a Node with Internet Access
If you have access to the internet, then you can build a Docker image for your Spotfire Service for Python, referencing it by its name and tag.
About this task
You can create the custom configuration before installing Spotfire Service for Python.
Before you begin
- You must have Docker installed on the computer running the node manager. If you install and start Spotfire Service for Python before you install Docker, then exceptions are written to the log.
- You must have a Linux computer where the node manager is installed. (Your node manager and Spotfire Server can be on different computers).
- You must have access to the internet.
Custom docker images for the Python service must contain the following.
- The Java 11 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