Skip to content

Jupyter Docker Stacks with .NET 6/7/8 kernel to run notebooks with C#, F# and Powershell

License

Notifications You must be signed in to change notification settings

pocki/jupyter-dotnet

Repository files navigation

Jupyter Docker Stacks with .NET kernel

Extending the Jupyter Docker Stack images with .NET 8 kernel to run notebooks in C#, F# and Powershell

.NET kernel is provided by .NET Interactive

Get started

This images can be started as the original Jupyter Docker Stack images (see the Jupyter Docker Stacks ReadTheDocs)

docker run -p 8888:8888 ghcr.io/pocki/jupyter-dotnet:minimal-dotnet8-latest

To persistant the notebooks mount the directory: /home/jovyan/Notebooks

docker run -p 8888:8888 ghcr.io/pocki/jupyter-dotnet:r-dotnet8-latest -v "$PWD":/home/jovyan/Notebooks

All images contain some .NET sample notebooks in folder /home/jovyan/Notebooks.

.NET 8

New: Docker Images have new name and changed to ghcr.io

Check available images on Packages:

  • ghcr.io/pocki/jupyter-dotnet:minimal-dotnet8-latest
  • ghcr.io/pocki/jupyter-dotnet:scipy-dotnet8-latest
  • ghcr.io/pocki/jupyter-dotnet:r-dotnet8-latest

Every image type is also available with the build date in the tag do use static/fixed versions. Ex.:

  • ghcr.io/pocki/jupyter-dotnet:minimal-dotnet8-20240202
  • ghcr.io/pocki/jupyter-dotnet:scipy-dotnet8-20240202
  • ghcr.io/pocki/jupyter-dotnet:r-dotnet8-20240202

On build there is always the latest available version of base image, .NET and dotnet interactive used.

.NET 6/.NET 7

.NET 6 kernel in tag 20220210 and later
.NET 7 kernel in tag 20230315 and later

Docker Images are on Docker Hub

Following images are created:

Usage:

Like above but images are on Docker Hub:

docker run -p 8888:8888 pocki/minimal-dotnet:latest