Git Product home page Git Product logo

datascience-docker-toolkit's Introduction

Data Science Docker Toolkit

Project to build a docker image with python and its libraries for data science

About

Data Science Docker Toolkit is a project which uses docker to create a docker image for data science purposes. It starts with Python and some data science libraries. This tools can be used though jupyter notebook.

The docker image is based on Ubuntu docker image, therefore every command used on the dockerfile to install Python and its libraries were done from the Ubuntu's install package apt.

How to

You will need to have docker installed. To see more about docker instalation access this link.

Building

It's needed to build a image from a docker file. To see more about building a docker image can be seen here. Inside the folder where's the docker file run the command below changing the <image-name> for a image's name of your choice. The /<optional-name> is optional so you can use it or not. It can be important to locate the docker image later.

docker build -t <image-name>/<optional-name> .

Runing

After running the command below there will be a docker image. However to launch the container change <container-name> to a container name of your choice and change also <image-name>/<optional-name>. It's needed to link the host's directory and container's directory with the argument -v <host-dir>:<container-dir>. Simiraly do the connection between the host port and docker port changing <host-port>:<docker-port>.

docker run --name <container-name> -v <host-dir>:<container-dir> -p <host-port>:<docker-port> -ti <image-name>/<optional-name> /bin/bash

Using Jupyter Notebook

You can not use jupyter notebook inside the docker. So the jupyter notebook can be launched with some differently arguments. After running the command below you'll need to copy the token and paste into the jupyter's box which will appear in your browser.

jupyter notebook --ip 0.0.0.0 --port 8888 --no-browser --allow-root

License

This project is licensed under the MIT License - see the LICENSE file for details.

datascience-docker-toolkit's People

Contributors

juniorcl avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.