Code Monkey home page Code Monkey logo

docker-riko's Introduction

riko Docker Image

Docker image for the riko stream processing engine.

Credits

Please read riko's license terms before using this Dockerfile.

Documentation

riko is well documented:

Usage

Building

In order to build the image, you have to clone the repository.

git clone https://github.com/sfischer13/docker-riko
cd docker-riko

Then, build the Docker image. If you need additional Python packages for running your pipes, you should add them to requirements.txt before building the image.

make build

Running

Before you can use riko, you have to build the image as described above.

Pipeline files must be made accessible by using Docker bind mounts.

Testing an example pipeline

Run demo.py from examples:

docker run --rm -i \
sfischer13/riko:latest \
demo

Using current directory

This will start the container and mount the current directory into the container. The pipeline definition, mypipe.py, has to be in this directory.

docker run --rm -i \
--mount type=bind,source="$PWD",target=/home/docker/ \
sfischer13/riko:latest \
mypipe.py

You could also use the full path to mypipe.py:

docker run --rm -i \
--mount type=bind,source="$PWD",target=/home/docker/ \
sfischer13/riko:latest \
/home/docker/mypipe.py

Miscellaneous commands

For an overview of the container files, run the following command:

docker run --rm -i sfischer13/riko:latest --help

Open a shell within the container:

docker run --rm -i -t sfischer13/riko:latest -- bash

docker-riko's People

Contributors

sfischer13 avatar

Watchers

 avatar  avatar

Forkers

aleclangford

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.