Basic and clean Docker image for Apache NiFi, based on Alpine and OpenJDK
## .
## ## ## ==
## ## ## ## ## ===
/"""""""""""""""""\___/ ===
~~~ {~~ ~~~~ ~~~ ~~~~ ~~~ ~ / ===- ~~~
\______ o NiFi __/
\ \ __/
\____\_______/
Dockerized single-host NiFi.
Deployment options out of the box:
- Standalone NiFi node
- 8080 - NiFi web application port
- 8081 - NiFi ListenHTTP processor port
- 8443 - NiFi web application secure port
All below volumes can be mounted to docker host machine folders or shared folders to easy maintain data inside them.
NiFi-specific:
- /opt/nifi/logs
- /opt/nifi/flowfile_repository
- /opt/nifi/database_repository
- /opt/nifi/content_repository
- /opt/nifi/provenance_repository
- Overview
- User Guide
- Expression Language
- Development Quickstart
- Developer's Guide
- System Administrator
The standard library has a built-in processor for an HTTP endpoint listener. That processor is named ListenHTTP. You should set the Listening Port of the instantiated processor to 8081
if you follow the instructions from above.
This image can either be used as a base image for building on top of NiFi or just to experiment with. I personally have not attempted to use this in a production use case.
Please use corresponding branches from this repo to play with code.
Ensure the following pre-requisites are met (due to some blocker bugs in earlier versions). As of today, the latest Docker Toolbox and Homebrew are fine.
- Docker 1.10+
- Docker Machine 0.6.0+
- Kitematic 0.12
(all downloadable as a single Docker Toolbox package as well)
- Start Kitematic
- Enter
xemuliam
in serach box - Choose
nifi-base
image - Click
Create
button
Kitematic will assign all ports and you'll be able to run NiFi web-interface directly from Kitematic.
- Start Docker Quickstart Terminal
- Run command
docker run -d -p 8080:8080 -p 8081:8081 -p 8443:8443 xemuliam/nifi-base
- Check Docker machine IP
docker-machine ls
- Use IP from previous step in address bar of your favorite browser, e.g.
http://192.168.99.100:8080/nifi