Skip to content

Docker image with Jupyter Lab and Wolfram Language Engine kernel for Jupyter

License

Notifications You must be signed in to change notification settings

matthewfeickert/wolfram-jupyter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

wolfram-jupyter

Docker image with Jupyter Lab and Wolfram Language Engine kernel for Jupyter

Distributed Software

The Docker image contains:

As I'm not sure if I can legally distribute a Docker image with my License agreement activated in it I won't put the image on Docker Hub, but you can build an image with your license agreement activated following these instructions.

Build

Build requires docker buildx

export WOLFRAM_ID="your Wolfram ID"
export WOLFRAM_PASSWORD="your Wolfram ID password"

docker buildx build . \
    --file Dockerfile \
    --build-arg BASE_IMAGE=wolframresearch/wolframengine:13.3.0 \
    --build-arg WOLFRAM_ID="${WOLFRAM_ID}" \
    --build-arg WOLFRAM_PASSWORD="${WOLFRAM_PASSWORD}" \
    --tag matthewfeickert/wolfram-jupyter:latest

unset WOLFRAM_ID
unset WOLFRAM_PASSWORD

Use

docker run \
  --rm \
  -ti \
  --publish 8888:8888 \
  --user $(id -u $USER):$(id -g $USER) \
  --volume $PWD:/home/docker/work \
  matthewfeickert/wolfram-jupyter:latest

Examples

In a notebook in the Wolfram Language Engine kernel the following example commands work

$Version
13.3.0 for Linux x86 (64-bit) (June 12, 2023)
Plot3D[Sin[x y],{x,-Pi,Pi},{y,-Pi,Pi}]

as does the example use case given in Nicolás Guarín-Zapata 2021-03-30 blog post "Using Wolfram Language in Jupyter: A free alternative to Mathematica":

example-notebook

About

Docker image with Jupyter Lab and Wolfram Language Engine kernel for Jupyter

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published