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 the Spotfire Service for Python.
Before you begin
- You must have Docker installed on the computer running the node manager. If you install and start the service 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 the Spotfire Server are usually on different computers).
- If you are using the script to build the base Docker image, you must have a connection to the internet. (A connection to the internet is not required if you are using a locally-available Docker image.)
Procedure
If problems occur, troubleshoot by examining the Dockerfile that the 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/nodemanager/<version>/nm/services/<language>-service-linux-<version_#_ID>/dockerfile/Dockerfile.
Parent topic: Containerized Service