-
Notifications
You must be signed in to change notification settings - Fork 2
DockerImage
Joaquim Patriarca edited this page Jul 12, 2020
·
1 revision
1 - Pull GLASS image from DockerHub:
docker pull jpatriarca/glass-img
2 - Run a new container:
docker run -it -v /path/to/host/folder:/home/gwork -p 8787:8888 jpatriarca/glass-img
This command will create a new container from the image and give access to the shell of the operating system installed in the container. Any code that uses GLASS tools can be executed inside the container.
The v flag will make the files in /path/to/host/folder available inside the container. The p flag allows access to port 8888 from the host. This will be very usefull for running some notebooks.
3 - Run some services:
sudo service postgresql start
3 - Run jupyter notebook:
cd /home/code/glass
jupyter notebook --ip 0.0.0.0 --no-browser --allow-root