To specify pre-defined connections with the Docker image:
- Update the template file with your connection information. Refer to Pre-defined Connection Configuration.
- Set the TD_CONFIG environment variable to point to the file located inside the container.
- Mount the file into the Docker container.
- 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.