Images
Notebooks, by default, are pointed to a Civis docker image that we maintain and keep up to date. This means we take care of managing packages and versions, which are pre-loaded each time a notebook is started.
Please see this page for available Docker images for Notebooks.
Advanced Usage - Connect to Your Own Docker Image
If you are familiar with creating docker images and would like to deploy a custom Notebook within our Platform please continue reading.
Creating your own custom docker image allows you to control the list of packages that are installed in your Notebook. This isn’t the only way to install custom packages in your Notebook (see link to how to set up requirements.txt) but if you like to have control over your docker images then this is a good solution.
In order to set up your Notebook Docker image to work on Civis Platform, please see the civis-jupyter-notebook repository. In addition to the README, that repository has an example Dockerfile.
Note: Civis’ background Docker user must have access to the custom Docker image for it to run as a Platform Notebook. See ‘Making Your Image Available for Use in Platform’ on Using a Custom Docker Image with Civis Platform for instructions.
Comments
2 comments
Where is the information about setting up a "requirements.txt"?
Lee, please see the following Help Center article on managing packages in Notebooks:
https://civis.zendesk.com/hc/en-us/articles/115003346092-Packages-in-Notebooks
Please sign in to leave a comment.