Docker image for the riko stream processing engine.
Please read riko's license terms before using this Dockerfile.
riko is well documented:
In order to build the image, you have to clone the repository.
git clone https://github.com/sfischer13/docker-riko
cd docker-rikoThen, 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 buildBefore you can use riko, you have to build the image as described above.
Pipeline files must be made accessible by using Docker bind mounts.
Run demo.py from examples:
docker run --rm -i \
sfischer13/riko:latest \
demoThis 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.pyYou 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.pyFor an overview of the container files, run the following command:
docker run --rm -i sfischer13/riko:latest --helpOpen a shell within the container:
docker run --rm -i -t sfischer13/riko:latest -- bash