Working Jupyter appliance

This commit is contained in:
Julien Duponchelle 2017-04-03 11:33:23 +02:00
parent c2b781afea
commit 9cf422606f
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8
3 changed files with 34 additions and 0 deletions

19
appliances/jupyter.gns3a Normal file
View File

@ -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": "/"
}
}

13
docker/jupyter/Dockerfile Normal file
View File

@ -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

View File

@ -0,0 +1,2 @@
c.NotebookApp.token = ''
c.NotebookApp.password = ''