This builds the shinaoka/sparse-ir docker hub image which includes sparse-ir libraries and their tutotrials.
One can run a Jupyterlab environment as
docker run --rm -p 8888:8888 shinaoka/sparse-ir
, or can run a shell as
docker run --rm -ti shinaoka/sparse-ir bash
The Jupyter notebook will be accessible at http://localhost:8888, where you should pass the token provided on the command line.
If you want the state of the virtual machine to be stored, drop --rm
from the commands above.
A summary of useful docker commands can be found here.
If you want to update the image and push it Docker Hub, use the following commands
docker build -t shinaoka/sparse-ir . --no-cache
docker push shinaoka/sparse-ir