Docker
A self-explanatory minimalistic Docker file is provided
in Dockerfile.
Build the image by executing
docker build -t softwareq-staq .
Run the Jupyter server in a container by executing
docker run -p8889:8889 -it --workdir=/home/sq/notebooks softwareq-staq sh -c ". ~/venv/bin/activate && jupyter notebook --port=8889 --no-browser --ip=0.0.0.0"
In case you want to use the Docker container as a development environment, mount your directory (in this example the current directory) in a Docker container with
docker run --rm -it --workdir=/home/sq/hostdir -v ${PWD}:/home/sq/hostdir softwareq-staq /bin/bash