Thanks… that was pretty easy to get set up. I did it like this to also provide JupyterLab:
singularity exec /path/to/my/TF_container.sif \
jupyter <%= context.jupyterlab_switch == "1" ? "lab" : "notebook" %> \
--ip="0.0.0.0" \
--config="${CONFIG_FILE}" <%= context.extra_jupyter_args %>
Also a form tweak required for JupyterLab: JupyterLab Installed
By the way, I notice you are exec’ing a container. I’m new to Singularity, but wouldn’t that normally be an image in a multiuser environment? I’m guessing there’s something I don’t understand. Thanks…