Skip to content

DockerImage

Joaquim Patriarca edited this page Jul 12, 2020 · 1 revision

Use GLASS Docker Image:

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

Clone this wiki locally