Pre-Defined Connection with Docker Image | Teradata Vantage Modules for Jupyter - Specifying Pre-Defined Connections with Docker Image - Teradata Vantage Modules for Jupyter

Teradata Vantageā„¢ Modules for Jupyter Installation Guide

Product
Teradata Vantage Modules for Jupyter
Release Number
3.4
Published
October 2022
Language
English (United States)
Last Update
2022-10-27
dita:mapPath
nuw1535116212598.ditamap
dita:ditavalPath
ft:empty
dita:id
B700-4010
Product Category
Teradata Vantage

To specify pre-defined connections with the Docker image:

  1. Update the template file with your connection information. Refer to Pre-defined Connection Configuration.
  2. Set the TD_CONFIG environment variable to point to the file located inside the container.
  3. Mount the file into the Docker container.
  4. Start the Docker image.

    For example:

    If the updated YAML file is at c:\jupyterconfig/tdconfig.yaml on the desktop machine, then start the docker container with the command:
    docker run -e "accept_license=y" -p 8888:8888 -v teradata-vol:/home/jovyan/JupyterLabRoot -v  c:\jupyterconfig:/home/jovyan/tdconfig -e TD_CONFIG=/home/jovyan/tdconfig/tdconfig.yaml teradatajupyterlabext
    
    To disable the processing of the configuration file with the start of the Docker image, do not set the value of the TD_CONFIG environment variable.