Appliance for docker with python 2.7

This commit is contained in:
Julien Duponchelle 2017-04-10 15:41:29 +02:00
parent e4028caeb3
commit 5fa103910e
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8
4 changed files with 35 additions and 1 deletions

View File

@ -11,7 +11,7 @@
"maintainer_email": "developers@gns3.net",
"docker": {
"adapters": 1,
"image": "gns3/jupyter",
"image": "gns3/jupyter:v2",
"console_type": "http",
"console_http_port": 8888,
"console_http_path": "/"

View File

@ -0,0 +1,19 @@
{
"name": "Jupyter 2.7",
"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. This appliance provide python 2.7.",
"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/jupyter27:v1",
"console_type": "http",
"console_http_port": 8888,
"console_http_path": "/"
}
}

View File

@ -0,0 +1,13 @@
FROM python:2.7
RUN pip 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 = ''