Last changed
Be the first to hear about exciting product updates, critical vulnerability alerts, compare alternative images, and more.
Sign UpMinimal Jupyter base notebook image using pip
Chainguard Containers are regularly-updated, secure-by-default container images.
For those with access, this container image is available on cgr.dev
:
Be sure to replace the ORGANIZATION
placeholder with the name used for your organization's private repository within the Chainguard Registry.
This image is not fully compatible with the base-notebook image from Jupyter.
The following are the key differences between Chainguard's base-notbook image and the image from Jupyter:
CMD
of the Chainguard image is set to start-notebook.py
and passing --ip=0.0.0.0
is required. If you want to use the image with default CMD or use a different CMD, overriding the current CMD
is required.To use Chainguard's Jupyter notebook image, run the following command in your project's directory:
You will need to retrieve the token from the logs of the container to access the Jupyter notebook. The logs will look like this:
You can then access the Jupyter notebook by visiting the given URL. For example: http://127.0.0.1:8888/lab?token=6901fcbf319446804d212326074998fcf240b34f9429012b
.
Chainguard's jupyter-base-notebook image is also meant to be used as part of jupyterhub
chart from JupyterHub's Helm chart repository.
To run it, override the singleuser
image used in the chart, like so:
Where config.yaml
contains:
It is also possible to use the Chainguard jupyterhub-k8s-hub
for the hub
image:
For more information, please refer to the official documentation for using jupyter notebooks. You can also find more information in the Jupyter Docker Stacks documentation.
Lastly, for instructions on deploying jupyterhub
chart from JupyterHub's Helm chart repository, please refer to the JupyterHub documentation.
Chainguard Containers are minimal container images that are secure by default.
In many cases, the Chainguard Containers tagged as :latest
contain only an open-source application and its runtime dependencies. These minimal container images typically do not contain a shell or package manager. Chainguard Containers are built with Wolfi, our Linux undistro designed to produce container images that meet the requirements of a more secure software supply chain.
The main features of Chainguard Containers include:
For cases where you need container images with shells and package managers to build or debug, most Chainguard Containers come paired with a -dev
variant.
Although the -dev
container image variants have similar security features as their more minimal versions, they feature additional software that is typically not necessary in production environments. We recommend using multi-stage builds to leverage the -dev
variants, copying application artifacts into a final minimal container that offers a reduced attack surface that won’t allow package installations or logins.
To better understand how to work with Chainguard Containers, please visit Chainguard Academy and Chainguard Courses.
In addition to Containers, Chainguard offers VMs and Libraries. Contact Chainguard to access additional products.
This software listing is packaged by Chainguard. The trademarks set forth in this offering are owned by their respective companies, and use of them does not imply any affiliation, sponsorship, or endorsement by such companies.
Chainguard container images contain software packages that are direct or transitive dependencies. The following licenses were found in the "latest" tag of this image:
Apache-2.0
BSD-2-Clause
BSD-3-Clause
GCC-exception-3.1
GPL-2.0-only
GPL-2.0-or-later
GPL-3.0
For a complete list of licenses, please refer to this Image's SBOM.
Software license agreement