GithubHelp home page GithubHelp logo

pbanavara / aerospike-dev-notebooks.docker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aerospike/aerospike-dev-notebooks.docker

0.0 1.0 0.0 98 KB

Repo for a docker image with Server, Jupyter, Python client, Tools and Notebooks

License: Other

Dockerfile 2.52% Shell 3.25% Python 27.83% Jupyter Notebook 66.41%

aerospike-dev-notebooks.docker's Introduction

Aerospike

Aerospike is an open source distributed database. Aerospike is built on a "shared nothing" architecture designed to reliably stores terabytes of data with automatic fail-over, replication and cross data-center synchronization.

Documentation for Aerospike is available at http://aerospike.com/docs, and Docker Desktop installation at : https://docs.docker.com/desktop/

Using this Image

  1. Install Docker.

  2. Get the image:

    Download the image from the public Docker Registry:

    docker pull aerospike/intro-notebooks
    

    If building the image:

    1. Git clone image repo:
      git clone https://github.com/aerospike/aerospike-dev-notebooks.docker.git
      
    2. cd to "aerospike-dev-notebooks.docker" and build from Dockerfile:
      docker build -t aerospike/intro-notebooks .
      
  3. Run the image and expose port 8888:

    docker run --name aero-nb -p 8888:8888 aerospike/intro-notebooks
    

    [Optional alternative] Use the LOGFILE environment variable to specify a log file path in the image:

    docker run -e "LOGFILE=/opt/aerospike/aerospike.log" --name aero-nb -p 8888:8888 aerospike/intro-notebooks
    
  4. The url with token should be printed on the output. By default it should be:

    http://127.0.0.1:8888/?token=<token>
    
  5. Example run with URL:

    $ docker run --name aero-nb -p 8888:8888 aerospike/intro-notebooks
    
    link eth0 state up
    link eth0 state up in 0
    Set username to: jovyan
    usermod: no changes
    Executing the command: jupyter notebook
    [I 05:28:34.202 NotebookApp] Writing notebook server cookie secret to /home/jovyan/.local/share/jupyter/runtime/notebook_cookie_secret
    [I 05:28:34.954 NotebookApp] JupyterLab extension loaded from /opt/conda/lib/python3.8/site-packages/jupyterlab
    [I 05:28:34.954 NotebookApp] JupyterLab application directory is /opt/conda/share/jupyter/lab
    [I 05:28:34.957 NotebookApp] Serving notebooks from local directory: /home/jovyan/notebooks
    [I 05:28:34.957 NotebookApp] Jupyter Notebook 6.1.4 is running at:
    [I 05:28:34.957 NotebookApp] http://6a374afd9f00:8888/?token=c45783e6631e305c97f6919905250e61f09049e750813cf6
    [I 05:28:34.957 NotebookApp]  or http://127.0.0.1:8888/?token=c45783e6631e305c97f6919905250e61f09049e750813cf6
    [I 05:28:34.957 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
    
    

aerospike-dev-notebooks.docker's People

Contributors

volmarl avatar mtendjou avatar neelp-git avatar arrowplum avatar pbanavara avatar

Watchers

James Cloos 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.