Skip to content
This repository was archived by the owner on Oct 22, 2024. It is now read-only.

Files

Latest commit

author
Christian Barra
Oct 15, 2016
2a926e3 · Oct 15, 2016

History

History

datadocker

DataDocker

DataDocker is a (docker image)[link here] with a collections of packages to have a ready environment with a lot of stuff.

Based on Ubuntu Xenial

Command to build the IMAGE

./build_data_docker.sh $PYTHON_VERSION

  • $PYTHON_VERSION is the PYTHON_VERSION of your image, must must 2 or 3

Command to run the CONTAINER

./run_data_docker.sh $LOCAL_FOLDER_NAME $PYTHON_VERSION

  • $LOCAL_FOLDER_NAME is the path to the directory that you want to mount with "/home/datadocker" inside your container
  • $PYTHON_VERSION, as above

You can see the running container with

  • sudo docker ps

and stop the container with

  • sudo docker stop CONTAINER_ID

Main and only requirement:

About running the CONTAINER

The command inside inside run_data_docker.sh is:

docker run -d -p 127.0.0.1:8888:8888 -v $FOLDER:/home/datadocker datadocker_python_$PYTHON

The bold part means that the port 8888 of the container is bound with your localhost:8888 and you can access the jupyter notebook only from your computer.

If for any reason you want to make the container available also to other computers inside your network you just need to remove the ip from the command:

docker run -d -p 8888:8888 -v $FOLDER:/home/datadocker datadocker_python_$PYTHON

Remember that if your network is internet everyone can access your jupyter notebook

List of the Python libraries

List image libraries

List R libraries