mirror of
https://github.com/GNS3/gns3-registry.git
synced 2025-01-18 02:40:11 +00:00
Appliance for docker with python 2.7
This commit is contained in:
parent
e4028caeb3
commit
5fa103910e
@ -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": "/"
|
||||
|
19
appliances/jupyter27.gns3a
Normal file
19
appliances/jupyter27.gns3a
Normal 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": "/"
|
||||
}
|
||||
}
|
13
docker/jupyter-2.7/Dockerfile
Normal file
13
docker/jupyter-2.7/Dockerfile
Normal 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
|
2
docker/jupyter-2.7/jupyter_notebook_config.py
Normal file
2
docker/jupyter-2.7/jupyter_notebook_config.py
Normal file
@ -0,0 +1,2 @@
|
||||
c.NotebookApp.token = ''
|
||||
c.NotebookApp.password = ''
|
Loading…
Reference in New Issue
Block a user