Skip to content
Snippets Groups Projects
Commit 11211159 authored by Stefano Stalio's avatar Stefano Stalio
Browse files

Update README.md

parent 74d07d70
No related branches found
No related tags found
No related merge requests found
...@@ -5,6 +5,8 @@ Un docker per jupyter notebooks basato su jupyter/datascience-notebook e con qua ...@@ -5,6 +5,8 @@ Un docker per jupyter notebooks basato su jupyter/datascience-notebook e con qua
Operazioni preliminari da eseguire su una VM ubuntu 18.04 appena istanziata: Operazioni preliminari da eseguire su una VM ubuntu 18.04 appena istanziata:
``` ```
export $DATA_DIR=/mnt/jupyter
sudo apt update sudo apt update
sudo apt -y upgrade sudo apt -y upgrade
sudo apt -y install wget apt-transport-https ca-certificates curl software-properties-common aptitude sudo apt -y install wget apt-transport-https ca-certificates curl software-properties-common aptitude
...@@ -12,14 +14,14 @@ sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add ...@@ -12,14 +14,14 @@ sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable" sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
sudo apt update sudo apt update
sudo apt -y install docker-ce git sudo apt -y install docker-ce git
sudo mkdir /mnt/jupyter sudo mkdir $DATA_DIR
sudo chown 1000 /mnt/jupyter sudo chown 1000 $DATA_DIR
sudo /usr/bin/docker run -d \ sudo /usr/bin/docker run -d \
--name jupyter \ --name jupyter \
--rm \ --rm \
--user root \ --user root \
-p 443:8888 \ -p 443:8888 \
-v /mnt/jupyter:/home/jovyan/work \ -v $DATA_DIR:/home/jovyan/work \
-e GEN_CERT=yes \ -e GEN_CERT=yes \
-e GRANT_SUDO=yes \ -e GRANT_SUDO=yes \
-e JUPYTER_ENABLE_LAB=yes \ -e JUPYTER_ENABLE_LAB=yes \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment