diff --git a/appliances/jupyter.gns3a b/appliances/jupyter.gns3a new file mode 100644 index 0000000..371a33e --- /dev/null +++ b/appliances/jupyter.gns3a @@ -0,0 +1,19 @@ +{ + "name": "Jupyter", + "category": "guest", + "description": "The Jupyter Notebook is an open-source web application that allows you to create and share documents that contain live code, equations, visualizations and explanatory text. Uses include: data cleaning and transformation, numerical simulation, statistical modeling, machine learning and much more.", + "vendor_name": "Project Jupyter", + "vendor_url": "http://jupyter.org/", + "product_name": "Jupyter", + "registry_version": 3, + "status": "stable", + "maintainer": "GNS3 Team", + "maintainer_email": "developers@gns3.net", + "docker": { + "adapters": 1, + "image": "gns3/jupyter", + "console_type": "http", + "console_http_port": 8888, + "console_http_path": "/" + } +} diff --git a/docker/jupyter/Dockerfile b/docker/jupyter/Dockerfile new file mode 100644 index 0000000..ec478fa --- /dev/null +++ b/docker/jupyter/Dockerfile @@ -0,0 +1,13 @@ +FROM python:3.6.1 + +RUN pip3 install jupyter + +ADD jupyter_notebook_config.py /root/.jupyter/jupyter_notebook_config.py + +RUN mkdir -p /opt/notebooks + +EXPOSE 8888 + +VOLUME /opt/notebooks + +CMD jupyter notebook --no-browser /opt/notebooks diff --git a/docker/jupyter/jupyter_notebook_config.py b/docker/jupyter/jupyter_notebook_config.py new file mode 100644 index 0000000..d955109 --- /dev/null +++ b/docker/jupyter/jupyter_notebook_config.py @@ -0,0 +1,2 @@ +c.NotebookApp.token = '' +c.NotebookApp.password = ''