We recommend that you run the Docker image for JupyterLab and the browser on the same machine. You can access the Docker image from a browser running on a different machine.
- Consult the Jupyter documentation at https://jupyterlab.readthedocs.io/en/stable/public_server.html before accessing JupyterLab Docker from a remote machine.
- We recommend that you configure the Docker image to use HTTPS which requires a TLS certificate and key file. The certificate file must be named tlscert.pem, and the key file must be named tlskey.key.
- The certificate files should be placed in a directory you bind to the /home/jovyan/certs directory ("/path/to/my/certfile/directory" in docker run command below). When the Docker image is started, it will detect the certificate files and will start up using HTTPS. You can also use Docker volume or different local directory to persist your notebooks as described above.
docker run -p 8888:8888 -v /path/to/my/certfile/directory:/home/jovyan/certs -v teradata-vol:/home/jovyan/JupyterLabRoot teradatajupyterlabext
docker run -p 8888:8888 -v /path/to/my/certfile/directory:/home/jovyan/certs -v /path/to/my/directory:/home/jovyan/JupyterLabRoot teradatajupyterlabext