Docker image with Jupyter Lab and Wolfram Language Engine kernel for Jupyter
MIT License
Docker image with Jupyter Lab and Wolfram Language Engine kernel for Jupyter
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 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
docker run \
--rm \
-ti \
--publish 8888:8888 \
--user $(id -u $USER):$(id -g $USER) \
--volume $PWD:/home/docker/work \
matthewfeickert/wolfram-jupyter:latest
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":